[Digikam-devel] libkface
Tobias Leupold
tobias.leupold at web.de
Sun Jun 22 18:44:18 BST 2014
Hi list!
I hope I can find some help here. I'm working on face detection and face
recognition for KPhotoAlbum via libkface.
Implementing face detection was quite easy and does work nicely; I just had to
take a look at the test/detect.cpp demo and simply did it alike. So I thought
that the recognition feature could be implemented (of course not so but still)
easy as well.
But alas, I'm having big trouble with face recognition. I wanted to start
playing around with the test/recognize.cpp demo before implementing something.
Training the database with a few faces was fast and the recognition also
worked somewhat on my test faces. But the time needed to train the database
grew exponentially (according to a plot I made of the times using R). The
first faces had been learned in less than a second. The 11th face took over 10
minutes to learn already, accompanied by heavy HD use and my system even
swapping. The time the recognition took also grew exponentially with the
number of trained faces.
I'm pretty sure that this is not the correct way to use libkface for face
recognition, as this would be simply unusable if I tried to add a lot of
different people.
Unfortunately, I wasn't able to find some "working" demo or documentation
about how to use libkface for face recognition. I had a look at the Digikam
sources, but this is (of course) quite complicated code, so it's hard to get
how it's done there.
Are there some docs I can read? I would really appreciate any help.
Thanks in advance!
Yours, Tobias
More information about the Digikam-devel
mailing list