https://bugs.kde.org/show_bug.cgi?id=472266
Bug ID: 472266
Summary: digikam face recognition ignores imported face tag
data
Classification: Applications
Product: digikam
Version: 8.1.0
Platform: Other
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Faces-Recognition
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
STEPS TO REPRODUCE
1. Add new collection of images that have face data stored in xmp metadata.
xmp metadata was created by another program.
2. digiKam recognizes xmp face data and creates people tags
3. Under People -> Workflow Run "Detect faces" followed by "Recognize
faces"
OBSERVED RESULT
digiKam does detect new faces that the former program missed or from fresh
images without face metadata. digiKam correctly does not duplicate any faces
detected by previous program and stored in xmp. digiKam displays newly detected
faces in the "Unknown" category. No newly detected faces are in the
"Unconfirmed" category. If I assign a People tag to a few of the same newly
detected faces, then digiKam will start making recommendations to the
"Unconfirmed" category. BUT, recommendations are only made for People tags
assigned inside digiKam and have an accuracy of less than 10%. Recommendations
are not made for any Person tag that was created when an image with xmp face
metadata. It appears that digiKam isn't able to correctly utilize faces tagged
by another program when performing the "Recognize faces" procedure. To confirm
this suspicion, I found a person who had never been tagged before. I assigned a
name to this person on ~10 faces. digiKam started making recommendations to the
"Unconfirmed" category for this person with better than 95% accuracy.
EXPECTED RESULT
I just reread the documentation about face recognition and saw the Note: "Face
recognition only works well with faces that have been automatically detected by
digiKam, not with manually drawn face rectangles or faces from other programs."
Based on this I'm guessing that face recognition is dependent upon the bounding
box and each method defines the bounding box uniquely. I don't recall ever
seeing an option to ignore face metadata when adding a new collection. What is
the proper way use face recognition in digikam with images tagged by other
programs? It would be helpful if the documentation contained a workaround in
addition to the cited note. Is there a simple way to delete existing face tag
data from a files xmp metadata and then redo the database?
Does the same problem exist if originally a person used the regular "Detect
faces" method and then after more images have been added to the collection, the
person enabled the "Use Yolo v3 detection model" option for face detection?
SOFTWARE/OS VERSIONS
Windows: 11 ver. 2009
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.