| Summary: | Yolov3 doesn't work on png Images | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Sven <machinesoul> |
| Component: | Faces-Detection | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 7.2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Appimage | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/digikam/commit/2143dc216806592d0349d6d60296ce0894eeac18 | Version Fixed/Implemented In: | 7.3.0 |
| Sentry Crash Report: | |||
|
Description
Sven
2021-03-22 09:45:31 UTC
Why shouldn't Yolo-v3 work with PNG images? The digiKam face detection works with all image formats that can be loaded via the Dimm framework. So also PNG, RAW, DNG, PSD etc. Tested here again with PNG files with individuals or groups of people, everything works without problems. What does "Kubuntu" package mean exactly? Which digiKam version with git version exactly? Please attach the debug output of a Yolo detection of a single image as described here: https://www.digikam.org/contribute/ Better still upload a PNG as a sample, if not public, then privately to my email address. Maik Dimm ==> DImg Maik (In reply to Maik Qualmann from comment #1) > Why shouldn't Yolo-v3 work with PNG images? The digiKam face detection works > with all image formats that can be loaded via the Dimm framework. So also > PNG, RAW, DNG, PSD etc. > > Tested here again with PNG files with individuals or groups of people, > everything works without problems. > > What does "Kubuntu" package mean exactly? Which digiKam version with git > version exactly? > Please attach the debug output of a Yolo detection of a single image as > described here: > > https://www.digikam.org/contribute/ > > Better still upload a PNG as a sample, if not public, then privately to my > email address. > > Maik Sorry, Kubuntu Package was a mistake from me. I'm using the appimage: digiKam-7.2.0-rc-x86-64.appimage I sent you a email with a sample picture Thanks for the nice test image. Yes, with this image I can confirm the problem. The cause is the alpha channel of the PNG image. I suspect a problem converting DImg to OpenCV image. Both face recognition engines are affected. I have a look at it. Maik Git commit 2143dc216806592d0349d6d60296ce0894eeac18 by Maik Qualmann. Committed on 23/03/2021 at 18:14. Pushed by mqualmann into branch 'master'. fix create OpenCV image, a DImg always has an alpha channel bitplane FIXED-IN: 7.3.0 M +2 -1 NEWS M +8 -19 core/libs/facesengine/detection/opencv-dnn/opencvdnnfacedetector.cpp https://invent.kde.org/graphics/digikam/commit/2143dc216806592d0349d6d60296ce0894eeac18 |