| Summary: | Problems with face recognition. | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Thomas Bach <Thomas.bach> |
| Component: | Faces-Recognition | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 7.10.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | 8.0.0 | |
| Sentry Crash Report: | |||
|
Description
Thomas Bach
2023-02-07 17:56:06 UTC
YOLO is only for face detection, you only need YOLO if you want to recognize very small faces, blurry faces or group photos with many faces. YOLO is much slower. I can only guess where the 21 unknown faces come from, they must be in the metadata, in digiKam < 8.0.0-Beta1 it could happen that unknown faces were written in the metadata. First they have to run face detection, they should then have a statistical number of unknown faces depending on the collection. Now enter a name for the unknown persons, there should be at least 5 per person. Now let face recognition run. Now they should have many unconfirmed faces, if correct - then confirm otherwise reject. Run face recognition again, name other unknown people, etc... Simply put, the training database is a mapping from face fingerprint to a name. Therefore, it can always be built up from the already confirmed faces. The rebuild should have done whenever they misconfirmed a lot of faces, changed a lot of names, etc. Another note: Face recognition currently only works well with faces that have been automatically detected by digiKam. Not with manually drawn face rectangles or faces from other programs, e.g. Picasa. Maik Ok. I understand. But my problem is, that Face detection is not running correctly. Sometimes, the progress bar stand still by 0% for more than 2 days. Sometimes, the process run in only a few seconcds without detecting new faces. And i understand right: YOLO is only for detection of faces in some special conditionsd. Not for the learning of the faces? The problem with the 0% is known under Windows, there is already an attempt to fix the problem. Which digiKam.7.10.0 version are you on exactly (date in file name)? Otherwise please test again with the last one. Maik Sorry Maik, at the moment, i am installing the 8.0 Beta. I know, that should not done in a production evironment but i have a test system here. Will look what happens and perhaps make a rollback. But by the last try with 7.10 (also with the 0% problem) i had installed the las weeklĂ˝ update. In this environment, by disabling YOLO, the progress bar was already running. But if it helps. I tried to view at the processes in this scenario and i could see, that only a few of bytes was written on the journal db. Testing the digiKam-8.0.0-Beta is good. It is important whether the problem with the 0% percent can still be reproduced. I can't reproduce it on my machines, neither here under Linux in a Windows 10 VM, nor on a real 4 CPU machine. I suspect a race condition depending on the speed of the computer. We know from bug 460570 that the images load but then face detection doesn't start. And yes, YOLO is face detection only. Maik *** This bug has been marked as a duplicate of bug 460570 *** Also with 8.0 beta, the scanning process is stopping. Disabling YOLO has no effect. After disabling using all kernels, the process works. Will try to reproduce this. Fixed with #460570 |