[Digikam-devel] [digikam] [Bug 355076] New: opencvfacedetector.cpp compile fails with opencv-3.0.0
Treeve Jelbert via KDE Bugzilla
bugzilla_noreply at kde.org
Mon Nov 9 12:29:53 GMT 2015
https://bugs.kde.org/show_bug.cgi?id=355076
Bug ID: 355076
Summary: opencvfacedetector.cpp compile fails with opencv-3.0.0
Product: digikam
Version: 5.0.0
Platform: Other
OS: other
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: Faces-Engine
Assignee: digikam-devel at kde.org
Reporter: treeve at scarlet.be
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:115:1:
error: expected class-name before '{' token
{
^
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:
In constructor 'FacesEngine::Cascade::Cascade(const QStringList&, const
QString&)':
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:132:37:
error: 'load' was not declared in this scope
if (!load(file.toStdString()))
^
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:
In member function 'QList<QRect>
FacesEngine::OpenCVFaceDetector::cascadeResult(const cv::Mat&,
FacesEngine::Cascade&, const FacesEngine::DetectObjectParameters&) const':
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:448:17:
error: 'class FacesEngine::Cascade' has no member named 'empty'
if (cascade.empty())
^
/var/git/qt5/kde5-apps/digikam/libs/facesengine/detection/opencvfacedetector.cpp:464:13:
error: 'class FacesEngine::Cascade' has no member named 'detectMultiScale'
cascade.detectMultiScale(inputImage, faces,
^
cmake reports:
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is: /opt/qt5/share/OpenCV
-- OpenCV: Found version 3.0.0 (required: 3.0.0)
-- OpenCV headers: /opt/qt5/include/opencv;/opt/qt5/include
-- OpenCV libs :
opencv_core;opencv_face;opencv_highgui;opencv_objdetect;opencv_imgproc
Incidentally, need to explicitly search for face module with opencv-3
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list