[Bug 748377] New: OpenCV face detection does not work with OpenCV newer than 2.4.10
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Apr 23 09:34:03 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748377
Bug ID: 748377
Summary: OpenCV face detection does not work with OpenCV newer
than 2.4.10
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lrn1986 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
$ gst-launch-1.0 autovideosrc ! video/x-raw,width=320,height=240 ! videoconvert
! facedetect min-size-width=60 min-size-height=60 ! d3dvideosink
OpenCV Error: Unspecified error (The node does not represent a user object
(unknown type?)) in cvRead, file
F:/e43/src/mingw/opencv-2.4.11-2/opencv-2.4.11/modules/core/src/persistence.cpp,
line 5008
terminate called after throwing an instance of 'cv::Exception'
what():
F:/e43/src/mingw/opencv-2.4.11-2/opencv-2.4.11/modules/core/src/persistence.cpp:5008:
error: (-2) The node does not represent a user object (unknown type?) in
function cvRead
This seems to be happening because cascade format was changed in 2.4.11.
Previously it was:
<haarcascade_frontalface_default type_id="opencv-haar-classifier">
Now it is:
<cascade type_id="opencv-cascade-classifier"><stageType>BOOST</stageType>
This was caused by
https://github.com/Itseez/opencv/commit/7efc917ee0a57bb88855ac1c043f0d0f7bc8d873
Googling suggests that there's a new cascade loader that can handle these new
cascades, but i haven't been able to figure the details.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list