From 555d29681bd661cf8fd5d1681a695f2f2196874a Mon Sep 17 00:00:00 2001 From: Robert Jobbagy Date: Wed, 30 Jul 2014 16:07:17 -0300 Subject: [PATCH] facedetect: faceblur: update launch line examples Reflect 1.0 and more useful examples --- ext/opencv/gstfaceblur.c | 2 +- ext/opencv/gstfacedetect.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/opencv/gstfaceblur.c b/ext/opencv/gstfaceblur.c index fbf39e5..5dbef79 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 d921647..5789b46 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 * * -- 2.7.4