Summary: | opencv error message during face scan | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | simon |
Component: | Faces-Detection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, slsimic, titopoquito |
Priority: | NOR | ||
Version: | 3.3.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 3.3.0 | |
Sentry Crash Report: |
Description
simon
2013-06-17 21:20:50 UTC
Which OpenCV release do you use ? Go to Help/Components Info for details. Gilles Caulier Oups, i just see : OpenCV 2.4.5... Could it simply be that you really did not train anything yet? All is new with libkface, so chances are you did not rebuild the training data, nor confirm new faces. I get the exact same errors. Same opencv version. I scan for faces and confirm some by adding a tag to them. Although some others photos are nearly the same (shot with high frame rate) the recognition status is given as "completed" after 0 or 1 seconds and none of the faces are identified. Deleting the libkface database and starting all over does not change anything. digikam 3.3.0-beta2 on Slackware-current, all compiled from source. With digikam-3.3.0rc3 the error does not occur no more for me. digikam also recognizes some faces after training now. :) I have same errors with openCV even with digikam 3.3.0 taken from kubuntu-ppa repository here is console output OpenCV Error: Bad argument (This LBPH model is not computed yet. Did you call the train method?) in predict, file /build/buildd/opencv-2.4.5+dfsg/modules/contrib/src/facerec.cpp, line 822 digikam(2793)/KFACE: cv::Exception: /build/buildd/opencv-2.4.5+dfsg/modules/contrib/src/facerec.cpp:822: error: (-5) This LBPH model is not computed yet. Did you call the train method? in function predict and it goes over and over again... percentage of process done is 14% and stays there and I can continue working in digikam. Is it digikam (openCV) or package error? |