diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-01-14 10:38:37 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-01-14 10:38:37 +0100 |
commit | e8d569f54de1af7f788a7ecb33fbb91e01a2f098 (patch) | |
tree | 5a82add837472c89f08535675cb9090db615db62 /ext/opencv/gstfaceblur.c | |
parent | b33b1390cc0d8fa242b739d5bcde1320ad6d50ff (diff) | |
download | gstreamer-plugins-bad-e8d569f54de1af7f788a7ecb33fbb91e01a2f098.tar.gz |
faceblur: set maximum feature size to 0x0
Previously faces would only be detected if they were at least 30x30 pixels
large and at most 32x32 pixels. We keep the minimum setting (maybe needs
a property as in facedetect) but disable the maximum feature size.
See https://bugzilla.gnome.org/show_bug.cgi?id=722158
Diffstat (limited to 'ext/opencv/gstfaceblur.c')
-rw-r--r-- | ext/opencv/gstfaceblur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opencv/gstfaceblur.c b/ext/opencv/gstfaceblur.c index d9a84df27..073dea06a 100644 --- a/ext/opencv/gstfaceblur.c +++ b/ext/opencv/gstfaceblur.c @@ -280,7 +280,7 @@ gst_face_blur_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) cvHaarDetectObjects (filter->cvGray, filter->cvCascade, filter->cvStorage, 1.1, 2, 0, cvSize (30, 30) #if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2) - , cvSize (32, 32) + , cvSize (0, 0) #endif ); |