DK 8.5 won't detect faces: OPENCV/DNN exception

Michael Miller Michael_Miller at msn.com
Mon Dec 30 04:24:20 GMT 2024


Hi Steve,
Thanks for the logs. YuNet is erroring out, but I don’t know why. It doesn’t look like anything image format related. It appears YuNet hates all images equally. YuNet and SFace are relatively new additions to OpenCV. I agree with you that is something about your system.

You using Debian Unstable, correct? I’ll create a fresh VM tomorrow and test with that. 

Sent from my iPad

> On Dec 29, 2024, at 11:08 PM, Steven Robbins <steve at sumost.ca> wrote:
> 
> On Sunday, December 29, 2024 7:45:48 P.M. CST Michael Miller wrote:
>> Hi Steven,
>> Thanks for the information.  OpenCV 4.6.0 is the minimum version required
>> for both YuNet and SFace.
> 
>> To help us debug, can you run the following command and then launch digiKam
>> from the command line?
> 
>> export QT_LOGGING_RULES=“digikam.face*=true”
> 
> OK.  So I had used the wider rule of: QT_LOGGING_RULES=“digikam*=true” and ran
> three experiments:
> 
> 1. YuNet on pictures from January 2024, which are mostly HEIC
>    ==> zero detections
> 
> Thinking that maybe file type might be an issue, I ran:
> 
> 2. YuNet on pictures from January 2008, which are all jpeg
>    ==> zero detections
> 
> 3. YOLOv3 on pictures from January 2008
>    ==> 113 detections
> 
> So, the issue appears to be confined to YuNet.  Since it works on other
> systems, likely there's an unfortunate interplay between some component
> versions on my system.
> 
> I do have that log if you want it, but I then did just as you ask -- logs for
> just digikam.face* -- and that is attached.
> 
> Best,
> -Steve
> <digikam.face.log>


More information about the Digikam-users mailing list