Summary: | Standard Face Detection does not work on LowRes pictures | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Alexandre Belz <alexandre.belz> |
Component: | Faces-Detection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, kde, metzpinguin |
Priority: | NOR | ||
Version: | 7.0.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/commit/32333a2719bfc0d97d631a84889b56d3f5a9a7ad | Version Fixed In: | 7.2.0 |
Sentry Crash Report: | |||
Attachments: | Test JPG file |
We have 2 pre-learned DNN data models. The simple model we are using at the moment cannot find faces in this image. The yolo DNN model would find all faces. However, digiKam would grow by almost 300MB. In any case, it has nothing to do with the image size. Gilles, I would suggest that we program a downloader for this model in digiKam and download it from files.kde.org/digikam if necessary. Maik Yes, i thinking about that too. Current model must still the default one. Large model must be optional. Downloader can be used also later for other models, as to detect/recognize animals, plans, monuments. In fact the neural network code is ready for that. The missing is data, not code. I'm not sure if file.kde.org is the right place. Perhaps digiKam.org will be better... Gilles Hi Maik and Gilles, do you mean that Face detection (only placing rectangle on faces) is now also Neuronal in digikam ? i'm fine with that, it's just to understand... Interestingly, the faces are recognized when I split the image. If I debug the incorrectly recognized rectangles, my guess is that the DNN engine can be irritated by the background. Maik Hello guys, the test picture attached to this ticket still cannot get faces detected by * "Thumbnail" -> RightClick -> "Scan for Faces". * "People" -> "Detect faces" for all library (with only this file). Other pictures works fine. Git commit 32333a2719bfc0d97d631a84889b56d3f5a9a7ad by Maik Qualmann. Committed on 16/11/2020 at 21:32. Pushed by mqualmann into branch 'master'. add checkbox for YOLO v3 face detection Related: bug 426309, bug 420128 FIXED-IN: 7.2.0 M +1 -0 core/app/views/stack/itemiconview_search.cpp M +1 -0 core/libs/album/treeview/albumselectiontreeview.cpp M +9 -1 core/libs/facesengine/detection/facedetector.cpp M +2 -0 core/libs/settings/applicationsettings.cpp M +3 -0 core/libs/settings/applicationsettings.h M +10 -0 core/libs/settings/applicationsettings_miscs.cpp M +3 -0 core/libs/settings/applicationsettings_p.cpp M +2 -0 core/libs/settings/applicationsettings_p.h M +1 -0 core/utilities/facemanagement/database/facescansettings.cpp M +3 -0 core/utilities/facemanagement/database/facescansettings.h M +8 -8 core/utilities/facemanagement/threads/facepipeline.cpp M +1 -1 core/utilities/facemanagement/threads/facepipeline.h M +1 -1 core/utilities/facemanagement/threads/facepipeline_p.h M +26 -0 core/utilities/facemanagement/widgets/facescanwidget.cpp M +2 -0 core/utilities/facemanagement/widgets/facescanwidget_p.h M +2 -1 core/utilities/facemanagement/workers/detectionworker.cpp M +1 -1 core/utilities/facemanagement/workers/detectionworker.h M +1 -1 core/utilities/facemanagement/workers/recognitionworker.cpp M +1 -1 core/utilities/facemanagement/workers/recognitionworker.h M +4 -2 core/utilities/maintenance/facesdetector.cpp M +1 -2 core/utilities/setup/downloader/filesdownloader.cpp https://invent.kde.org/graphics/digikam/commit/32333a2719bfc0d97d631a84889b56d3f5a9a7ad Thank you @Maik for that Fix ! |
Created attachment 124712 [details] Test JPG file SUMMARY Standard Face Detection does not work on LowRes pictures STEPS TO REPRODUCE 1. Open picture enclosed 2. Right click on it, Scan for faces 3. OBSERVED RESULT There is no face detected. EXPECTED RESULT All people should be detected SOFTWARE/OS VERSIONS Windows: 10