mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
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
This commit is contained in:
parent
b33b1390cc
commit
e8d569f54d
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ gst_face_blur_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
||||||
cvHaarDetectObjects (filter->cvGray, filter->cvCascade,
|
cvHaarDetectObjects (filter->cvGray, filter->cvCascade,
|
||||||
filter->cvStorage, 1.1, 2, 0, cvSize (30, 30)
|
filter->cvStorage, 1.1, 2, 0, cvSize (30, 30)
|
||||||
#if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2)
|
#if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2)
|
||||||
, cvSize (32, 32)
|
, cvSize (0, 0)
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue