mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
facedetect: Remove dead code and some minor doc changes.
This commit is contained in:
parent
3320a03e20
commit
c0f9c74ca6
1 changed files with 3 additions and 6 deletions
|
@ -46,7 +46,7 @@
|
||||||
/**
|
/**
|
||||||
* SECTION:element-facedetect
|
* SECTION:element-facedetect
|
||||||
*
|
*
|
||||||
* FIXME:Describe facedetect here.
|
* Performs face detection on videos and images.
|
||||||
*
|
*
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
|
@ -96,8 +96,6 @@ enum
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstOpencvFaceDetectFlags:
|
* GstOpencvFaceDetectFlags:
|
||||||
* @GST_CAMERABIN_FLAG_SOURCE_RESIZE: enable video crop and scale
|
|
||||||
* after capture
|
|
||||||
*
|
*
|
||||||
* Flags parameter to OpenCV's cvHaarDetectObjects function.
|
* Flags parameter to OpenCV's cvHaarDetectObjects function.
|
||||||
*/
|
*/
|
||||||
|
@ -205,7 +203,6 @@ gst_facedetect_class_init (GstfacedetectClass * klass)
|
||||||
|
|
||||||
gobject_class = (GObjectClass *) klass;
|
gobject_class = (GObjectClass *) klass;
|
||||||
gstopencvbasefilter_class = (GstOpencvVideoFilterClass *) klass;
|
gstopencvbasefilter_class = (GstOpencvVideoFilterClass *) klass;
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
|
||||||
|
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_facedetect_finalize);
|
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_facedetect_finalize);
|
||||||
gobject_class->set_property = gst_facedetect_set_property;
|
gobject_class->set_property = gst_facedetect_set_property;
|
||||||
|
@ -385,8 +382,8 @@ gst_facedetect_message_new (Gstfacedetect * filter, GstBuffer * buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* chain function
|
/*
|
||||||
* this function does the actual processing
|
* Performs the face detection
|
||||||
*/
|
*/
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_facedetect_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf,
|
gst_facedetect_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf,
|
||||||
|
|
Loading…
Reference in a new issue