Bug 389031 - Scanning collection for faces causes produces lots of OpenCV errors
Summary: Scanning collection for faces causes produces lots of OpenCV errors
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Recognition (other bugs)
Version First Reported In: 5.8.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 22:44 UTC by Nick Anderson
Modified: 2019-12-23 14:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Anderson 2018-01-15 22:44:42 UTC
Using the 5.8.0 appimage on Ubuntu 17.10 I get lots of OpenCV Errors when scanning my collection for faces.

#+BEGIN_EXAMPLE
OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call the train method?) in predict, file /b/dktemp/digikam-v5.8.0/core/libs/facesengine/recognition-opencv-lbph/facerec_borrowed.cpp, line 383
digikam.facesengine: cv::Exception: /b/dktemp/digikam-v5.8.0/core/libs/facesengine/recognition-opencv-lbph/facerec_borrowed.cpp:383: error: (-5) This LBPH model is not computed yet. Did you call the train method? in function predict
#+END_EXAMPLE
Comment 1 Maik Qualmann 2018-01-16 19:18:22 UTC
This error message is "normal". You have not assigned a name to any found face yet. The database for the histograms is still empty. Do not use for face search "find faces and recognize", only "find faces".

Maik
Comment 2 Nick Anderson 2018-01-16 20:52:36 UTC
(In reply to Maik Qualmann from comment #1)
> This error message is "normal". You have not assigned a name to any found
> face yet. The database for the histograms is still empty. Do not use for
> face search "find faces and recognize", only "find faces".
> 
> Maik

OK, thanks
Comment 3 caulier.gilles 2019-12-23 14:50:20 UTC
Not reproducible with 7.0.0