GNOME Bugzilla – Bug 796942
facedetect: handle haardetect max-size settings in plugin properties
Last modified: 2018-11-03 14:29:38 UTC
Since version 2.2 of opencv, a parameter appeared in the haardetect function, this is the maximum size. This one allows to limit the number of iteration of the search and thus to optimize this one. By default in gstreamer this parameter is set to CvSize(0,0) so no limitation, however it would be useful to be able to modify it in the plugin properties.
Created attachment 373298 [details] [review] path wich add two properties to facedetect plugin for opencv detectMultiScale function Here is a patch for this. Done in Ubuntu 18.04 (4.15.0-30-generic #32-Ubuntu) with master branch of gst-plugin-bad (1.15.0) builded with meson and gst-build. Tested with this pipeline and a webcam "gst-launch-1.0 autovideosrc ! video/x-raw,width=320,height=240 ! videoconvert ! facedetect min-size-width=60 min-size-height=60 max-size-width=100 max-size-height=100 ! videoconvert ! ximagesink"
>patch which add two properties to facedetect plugin for opencv detectMultiScale function sorry -_-'
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/768.