After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796942 - facedetect: handle haardetect max-size settings in plugin properties
facedetect: handle haardetect max-size settings in plugin properties
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-08-10 09:16 UTC by flavie lancereau
Modified: 2018-11-03 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
path wich add two properties to facedetect plugin for opencv detectMultiScale function (7.26 KB, patch)
2018-08-10 12:46 UTC, flavie lancereau
none Details | Review

Description flavie lancereau 2018-08-10 09:16:45 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.
Comment 1 flavie lancereau 2018-08-10 12:46:21 UTC
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"
Comment 2 flavie lancereau 2018-08-10 13:02:17 UTC
>patch which add two properties to facedetect plugin for opencv detectMultiScale function

sorry -_-'
Comment 3 GStreamer system administrator 2018-11-03 14:29:38 UTC
-- 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.