Skip to content

Instantly share code, notes, and snippets.

@shamun
Created October 13, 2011 10:05
Show Gist options
  • Select an option

  • Save shamun/1283893 to your computer and use it in GitHub Desktop.

Select an option

Save shamun/1283893 to your computer and use it in GitHub Desktop.
In Arch
==========
[root@myhost aur]# gst-inspect facedetect
No such element or plugin 'facedetect'
[root@myhost aur]# pacman -Qs opencv
local/opencv 2.3.1-1
Open Source Computer Vision Library
In Fedora
=============
[sun@example ~]$ gst-inspect facedetect
Factory Details:
Long name: facedetect
Class: Filter/Effect/Video
Description: Performs face detection on videos and images, providing detected positions via bus messages
Author(s): Michael Sheldon <mike@mikeasoft.com>
Rank: none (0)
Plugin Details:
Name: opencv
Description: GStreamer OpenCV Plugins
Filename: /usr/lib/gstreamer-0.10/libgstopencv.so
Version: 0.10.22
License: LGPL
Source module: gst-plugins-bad
Source release date: 2011-05-10
Binary package: Fedora gstreamer-plugins-bad package
Origin URL: http://download.fedora.redhat.com/fedora
GObject
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstVideoFilter
+----GstOpencvVideoFilter
+----Gstfacedetect
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw-rgb
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-raw-rgb
Element Flags:
no flags set
Element Implementation:
Has change_state() function: gst_element_change_state_func
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.
Pads:
SRC: 'src'
Implementation:
Has getrangefunc(): gst_base_transform_getrange
Has custom eventfunc(): gst_base_transform_src_event
Has custom queryfunc(): gst_base_transform_query
Provides query types:
(1): position (Current position)
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Has getcapsfunc(): gst_base_transform_getcaps
Has acceptcapsfunc(): gst_base_transform_acceptcaps
Pad Template: 'src'
SINK: 'sink'
Implementation:
Has chainfunc(): gst_base_transform_chain
Has custom eventfunc(): gst_base_transform_sink_event
Has custom queryfunc(): gst_base_transform_query
Provides query types:
(1): position (Current position)
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Has bufferallocfunc(): gst_base_transform_buffer_alloc
Has getcapsfunc(): gst_base_transform_getcaps
Has setcapsfunc(): gst_base_transform_setcaps
Has acceptcapsfunc(): gst_base_transform_acceptcaps
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "facedetect0"
qos : Handle Quality-of-Service events
flags: readable, writable
Boolean. Default: false Current: true
display : Sets whether the detected faces should be highlighted in the output
flags: readable, writable
Boolean. Default: true Current: true
profile : Location of Haar cascade file to use for face detection
flags: readable, writable
String. Default: "/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml" Current: "/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml"
scale-factor : Factor by which the windows is scaled after each scan
flags: readable, writable
Double. Range: 1.1 - 10 Default: 1.1 Current: 1.1
min-neighbors : Minimum number (minus 1) of neighbor rectangles that makes up an object
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 3 Current: 3
flags : Flags to cvHaarDetectObjects
flags: readable, writable
Flags "GstOpencvFaceDetectFlags" Default: 0x00000000, "(none)" Current: 0x00000000, "(none)"
(0x00000001): do-canny-pruning - Do Canny edge detection to discard some regions
min-size-width : Minimum window width size
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
min-size-height : Minimum window height size
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0 Current: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment