https://bugs.kde.org/show_bug.cgi?id=501257

--- Comment #22 from Michael Miller <michael_mil...@msn.com> ---
Hi Andy,
Can you explain something please?  How did you get the superpower to find bugs
in code that has been working well for months.  :)

You found another well-hidden bug in digiKam.

Maik/Gilles,
The issue is the thumbnail QImage being returned from the thumbnail service is
has a format of QImage::Format_RGB32. If I raw convert the QImage to an OpenCV
cv::Mat, I should get a RGB cv::Mat image. What I get is actually BGR. YuNet
and SFace want RGB format images, and not BGR.  

I don't know if this is adysfunction in the thumbnail service, but in other
places when I convert a QImage to cv::Mat the color coding is correct. 

If I convert the thumbnail QImage to BGR, the result thumbnail is actually RGB,
and is processed correctly.

Andy, I also found out why you have run recognize twice.  I'm fixing that, too.
 There should be a new build in a few days.

Cheers,
Mike

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to