<div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 6 juil. 2021 à 09:27, Liam Gretton <<a href="mailto:liam.gretton@gmail.com">liam.gretton@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
I'm trying to create a picture mosaic using the face images from
digiKam. It looks like digiKam can mostly do what I want from the
Tools -> Image Mosaic Wall function (though I can't find
anything about this in the documentation).<br>
<br>
What I want to do is make a mosaic from the images of a person's
face, and all those images are already captured by digiKam in the
faces section. However there doesn't seem to be a way to save the
images from the face tags, but I think I've worked out how to
extract them from the recognition.d SQLite database:<br>
<br>
SELECT embedding FROM FaceMatrices WHERE identity=x<br>
<br>
Assuming I've even found the correct data, I can't work out what
this image data format is.<br>
<br>
So my questions are:<br>
<br>
1. Is there a simpler way of gathering the facial images that
digiKam has already collected?<br></font></div></blockquote><div><br></div><div>There is not yet a tool for this feature.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><font face="Helvetica, Arial, sans-serif">
2. If not, how can I convert the binary image data from the
recognition database into something useable?<br>
<br></font></div></blockquote><div><br></div><div>The binary image is in OpenSource format PGF (wavelets compressed).</div><div>Look in my gihub account, there is a simple CLI tool to convert PGF to PNG :</div><div><br></div><div><a href="https://github.com/cgilles/digikam-pgf-database">https://github.com/cgilles/digikam-pgf-database</a></div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div><br></div></div>