diff --git a/ext/opencv/gstfaceblur.c b/ext/opencv/gstfaceblur.c index fbf39e561a..5dbef79eb1 100644 --- a/ext/opencv/gstfaceblur.c +++ b/ext/opencv/gstfaceblur.c @@ -51,7 +51,7 @@ * * Example launch line * |[ - * gst-launch-0.10 videotestsrc ! decodebin ! videoconvert ! faceblur ! videoconvert ! xvimagesink + * gst-launch-1.0 autovideosrc ! videoconvert ! faceblur ! videoconvert ! autovideosink * ]| * */ diff --git a/ext/opencv/gstfacedetect.c b/ext/opencv/gstfacedetect.c index d92164777f..5789b46d2b 100644 --- a/ext/opencv/gstfacedetect.c +++ b/ext/opencv/gstfacedetect.c @@ -48,6 +48,7 @@ * SECTION:element-facedetect * * Performs face detection on videos and images. + * If you have high cpu load you need to use videoscale with capsfilter and reduce the video resolution. * * The image is scaled down multiple times using the GstFaceDetect::scale-factor * until the size is <= GstFaceDetect::min-size-width or @@ -56,10 +57,10 @@ * * Example launch line * |[ - * gst-launch-0.10 autovideosrc ! decodebin2 ! colorspace ! facedetect ! videoconvert ! xvimagesink + * gst-launch-1.0 autovideosrc ! decodebin2 ! colorspace ! facedetect ! videoconvert ! xvimagesink * ]| Detect and show faces * |[ - * gst-launch-0.10 autovideosrc ! video/x-raw,width=320,height=240 ! videoconvert ! facedetect min-size-width=60 min-size-height=60 ! colorspace ! xvimagesink + * gst-launch-1.0 autovideosrc ! video/x-raw,width=320,height=240 ! videoconvert ! facedetect min-size-width=60 min-size-height=60 ! colorspace ! xvimagesink * ]| Detect large faces on a smaller image * *