https://bugs.kde.org/show_bug.cgi?id=522887
Bug ID: 522887
Summary: Face recognition tool no more working with the latest
openCV
Classification: Applications
Product: digikam
Version First 9.1.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Faces-Recognition
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
Face recognition no more working after updating digiKam to 9.1.0 and openCV to
5.0.0-6 on 9th July.
No issue prior to that.
STEPS TO REPRODUCE
1. Update to digiKam 9.1.0
2. Update openCV to 5.0.0-6
3. Open digiKam
4. Try some proper quality pictures with faces on it
OBSERVED RESULT
No faces detected at all.
msg in terminal: digikam.facesengine: cv::Exception: OpenCV(5.0.0)
/usr/src/debug/opencv/opencv/modules/core/src/umatrix.cpp:820: error:
(-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <=
m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in
function 'UMat'
Tried to clean databases, delete recognition db or retrain data but still not
working. Regarding training data it seems linked to same error while trying to
rebuild: digikam.facesengine: DNNSFaceExtractor::getFaceEmbedding:
cv::Exception: OpenCV(5.0.0)
/usr/src/debug/opencv/opencv/modules/core/src/umatrix.cpp:820: error:
(-215:Assertion failed) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <=
m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in
function 'UMat'
Note that it was working properly on all my pictures before and I didn't touch
at them prior the upgrade
EXPECTED RESULT
Face recognition tool to work
SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.27.0
--
You are receiving this mail because:
You are watching all bug changes.