[Digikam-devel] libkface

Tobias Leupold tobias.leupold at web.de
Fri Jun 27 14:06:53 BST 2014


Am Donnerstag 26 Juni 2014, 15:16:48 schrieb Gilles Caulier:
> I restored Recognition feature in KFaceGUI test program. Take a look,
> in fact it simple to handle.

Thanks a lot, this really helps!

Am Donnerstag 26 Juni 2014, 19:23:20 schrieb Marcel Wiesweg:
> We tested back and forth, in the end any of the available cascades was its
> weaknesses, by using more than one cascade to verify candidates we got
> pretty good results (there's even some literature that recommends this
> approach, cited in the code IIRC)

The face detection really works fine. For my test images, it found most of the 
faces. As already said, I think some small webpage about libkface would be 
nice. There, one could e. g. mention that verifying multiple cascades is done 
when detecting faces, as that's a real advantage compared with the "simple" 
OpenCV approach.

> We have no working code for face alignment. I see one candidate with free
> code, it's not in libkface and complex.
Again, that would be something for a libkface home page. Perhaps, someone can 
and wants to contribute regarding this?

> My example of proper API usage can be found in digikam's FacePipeline.cpp
> (utils/facemanagement), in the classes RecognitionWorker and Trainer,
> MapListTrainingDataProvider is an example of a non-trivial implementation of
> a TrainingDataProvider.

Well, then that's "all" I have to understand to write some nice recognition 
code for KPA ;-)

> I know, this is deeply tied into a multithreaded pipeline and digikam's
> database. Just look at lines 943 - 1039 and 573 - 599.
> Look at libs/database/facetags.cpp 233- 337 to see how we deal with
> libkface's Identities, which we map to tags in digikam.

Thanks for the info. I'll have a look at this and try to understand what's 
going on.

> Please note you are the first non-digikam user of this library that I know
> of. If you need something we didn't think of, we can discuss everything.

Thanks a lot for the friendly information. I hope I can get into all this soon 
and write some nice code. I'm pretty sure you'll hear from me soon ;-)

Yours, Tobias



More information about the Digikam-devel mailing list