[Bug 748377] OpenCV face detection does not work with OpenCV newer than 2.4.10

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 24 00:32:29 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748377

LRN <lrn1986 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lrn1986 at gmail.com

--- Comment #1 from LRN <lrn1986 at gmail.com> ---
Dug a bit deeper.

The loader that was spoken of is CascadeClassifier class and its load() method.
Looking at it i see that it first tries to load the cascade via a combination
of a FileStorage object and the method read() of CascadeClassifier itself
(which leafs through the nodes) and if that fails, then it falls back to
cvLoad().

AFAICS, there's no C equivalent for this.

The detection method for CascadeClassifier is detectMultiScale(). Internally it
calls cvHaarDetectObjectsForROC() for old-style cascades, which is what
gstfacedetect calls (indirectly; it calls cvHaarDetectObjects(), which just a
convenience wrapper for cvHaarDetectObjectsForROC()).

If converting gstfacedetect to C++ is acceptable, it shouldn't be too hard.

-- 
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