frei0r-filter-opencvfacedetect
detect faces and draw shapes on them
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter ╰──frei0r-filter-opencvfacedetect
Factory details
Authors: – Sebastian Dröge
Classification: – Filter/Effect/Video
Rank – none
Plugin – frei0r
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: { BGRA, RGBA, ABGR, ARGB, BGRx, RGBx, xBGR, xRGB, AYUV }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
video/x-raw:
format: { BGRA, RGBA, ABGR, ARGB, BGRx, RGBx, xBGR, xRGB, AYUV }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
classifier
“classifier” gchararray
Full path to the XML pattern model for recognition; look in /usr/share/opencv/haarcascades
Flags : Read / Write
Default value : /usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml
color-2-g
“color-2-g” gfloat
The color of the second object
Flags : Read / Write
Default value : 0.5
neighbors
“neighbors” gdouble
Minimum number of rectangles that makes up an object, divided by 100
Flags : Read / Write
Default value : 0.02
recheck
“recheck” gdouble
How often to detect an object in number of frames, divided by 1000
Flags : Read / Write
Default value : 0.025
scale
“scale” gdouble
Down scale the image prior detection
Flags : Read / Write
Default value : 0.666667
search-scale
“search-scale” gdouble
The search window scale factor, divided by 10
Flags : Read / Write
Default value : 0.12
shape
“shape” gdouble
The shape to draw: 0=circle, 0.1=ellipse, 0.2=rectangle, 1=random
Flags : Read / Write
Default value : 0
smallest
“smallest” gdouble
Minimum window size in pixels, divided by 1000
Flags : Read / Write
Default value : 0
stroke
“stroke” gdouble
Line width, divided by 100, or fill if 0
Flags : Read / Write
Default value : 0
threads
“threads” gdouble
How many threads to use divided by 100; 0 uses CPU count
Flags : Read / Write
Default value : 0.01
The results of the search are