<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 9, 2014 at 6:42 PM, Tobias Leupold <span dir="ltr"><<a href="mailto:tobias.leupold@web.de" target="_blank">tobias.leupold@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List!<br>
<br>
Now that we can mark areas on an image and associate them with tags, we can go<br>
one nice step ahead. I added face detection and face recognition using<br>
Digikam's libkface.<br></blockquote><div><br></div><div>Sounds pretty cool.  I just watched a video demonstrating the marking of areas in KPA, now I could watch a video demonstrating this as well :D<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Please have a look at:<br>
<br>
        <a href="https://github.com/l3u/kphotoalbum/tree/facemanagement" target="_blank">https://github.com/l3u/kphotoalbum/tree/facemanagement</a><br>
<br>
This is quite a big patch. As there were changes and additions throughout the<br>
code, it was not really possible to split the changes in different independent<br>
patches. The current state is based on current git master as of the time of<br>
this writing. I'm pretty sure that all this is far from production quality,<br>
but it's usable. Of course, this is nothing for the upcoming release, as it<br>
has to be tested from end to end.<br></blockquote><div><br></div><div>The 4.5 release is half way out. Sources are already in KDE mirrors, but we are still lacking the notification and drumming.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Please notice that you need the current git master of libkface (<br>
<a href="http://quickgit.kde.org/libkface.git" target="_blank">http://quickgit.kde.org/libkface.git</a> -- version 3.2.0) for this to work, as I<br>
also had to add a new function to libkface's API to be able to implement some<br>
database maintenance.<br></blockquote><div><br></div><div>You should test that libkface version is high enough. Since you require a minimum version of the API, it is not enough to make sure that the library exist. Otherwise I didn't spot anything peculiar with my 2 minute browse through the code.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When there's no appropriate version of libkface at build time, KPA should<br>
build as ever, simply leaving out the new functionality. When we have it, a<br>
"Search for faces on the current image" button is added to the annotation<br>
dialog's image preview, along with some additional context menu entries for<br>
the areas and a new settings page.<br>
<br>
Regarding face detection, it was no big deal to implement it and the results<br>
are quite okay. Face recognition is a bit more tricky, as we have to keep the<br>
recognition database in sync with KPA's database. The quality of the<br>
recognition was moderate to impressive -- depending on the image sets I used<br>
to test it (but it's the deal of the libkface guys to improve that ;-)<br></blockquote><div><br></div><div>It is going to be interesting to test the face recognition with fish and sea slug pictures I mainly shoot. I sure hope it will work well there. Someone, please donate me 10 more hours per day :D<br>
<br>miika<br></div></div></div></div>