Bug 391671 - Face recognition fails giving a lot of addition effort to correct the errors.
Summary: Face recognition fails giving a lot of addition effort to correct the errors.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (show other bugs)
Version: 5.9.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-10 16:18 UTC by Bob Fearnley
Modified: 2019-12-25 15:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Fearnley 2018-03-10 16:18:23 UTC
It appears that during automatic recognition the default for unrecognised faces is to put in one of two others from those already tagged.  

In my case this means that any face not recognised  (whether male or female, colour or black and white image) is labelled either Chris Fearnley or Julie Burford.

This happened on well over one hundred faces requiring manual correction.
Comment 1 Maik Qualmann 2018-03-10 17:44:05 UTC
Your face database was created with digiKam-4.x, we had a bug there, that all entries were duplicated over and over again. You will have to delete the face database and train again. It is enough on average 3-5 faces to assign the names. After that, the automatic face recognition will assign meaningful names.

Maik
Comment 2 caulier.gilles 2019-03-20 15:15:59 UTC
After 3 weeks of work, i finally completed the compilation of AppImage using Qt
5.11.3 + QWebkit 5.212.

New 6.1.0 pre-release AppImage bundle can be found here (64 bits only for the
moment) :

https://files.kde.org/digikam/

Please check if this bugzilla entry still valid.

Thanks in advance

Gilles Caulier
Comment 3 Bob Fearnley 2019-03-22 17:34:07 UTC
I have tried it but the results are inconclusive so I think I need to delete the recognition database - how can I do that?  I had the options selected as in the attached image: 
Work on all processor cores
Clear and rebuild training data

Even doing that I had some very strange results.
Comment 4 caulier.gilles 2019-03-22 17:38:39 UTC
If you wan to be sure, remove the recognition.db sqlite file. It will be re-created automatically.

Gilles Caulier
Comment 5 Bob Fearnley 2019-03-23 17:41:34 UTC
I have removed the recognition db and re-run the scan but I am still puzzled by the results.  In trying to name the face images I am wondering about the blue '+' and red 'x' symbols in the dialog.  The red x means "not a face" but what does the blue + mean?
Comment 6 caulier.gilles 2019-12-23 15:12:48 UTC
7.0.0-beta1 is out with new Face Recognition algorithm based on Deep
Learning/Neural Network API from OpenCV

https://download.kde.org/unstable/digikam/

Please test and give us a feedback

Thanks in advance
Gilles Caulier
Comment 7 caulier.gilles 2019-12-25 15:25:00 UTC
See the Neural Network example from digiKam 7.0.0-beta1 performing faces
recognition with 2 items face-tagged in first.

https://i.imgur.com/HHF4T9X.png

1 new item is recognized, name-tagged, highlighted with green frame, and linked
in "unconfirmed" virtual tag for confirmation.

Recognition work well using Deep Learning and give 97% of true positive results. I close this file now.

Merry Christmas and Happy new year.

Gilles Caulier