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 , binarymillenium, ddennedy

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 ]

Presencealways

Directionsink

Object typeGstPad


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 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

alpha

“alpha” gdouble

The alpha channel value for the shapes

Flags : Read / Write

Default value : 1


antialias

“antialias” gboolean

Draw with antialiasing

Flags : Read / Write

Default value : false


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-1-b

“color-1-b” gfloat

The color of the first object

Flags : Read / Write

Default value : 1


color-1-g

“color-1-g” gfloat

The color of the first object

Flags : Read / Write

Default value : 1


color-1-r

“color-1-r” gfloat

The color of the first object

Flags : Read / Write

Default value : 1


color-2-b

“color-2-b” gfloat

The color of the second object

Flags : Read / Write

Default value : 1


color-2-g

“color-2-g” gfloat

The color of the second object

Flags : Read / Write

Default value : 0.5


color-2-r

“color-2-r” gfloat

The color of the second object

Flags : Read / Write

Default value : 0


color-3-b

“color-3-b” gfloat

The color of the third object

Flags : Read / Write

Default value : 1


color-3-g

“color-3-g” gfloat

The color of the third object

Flags : Read / Write

Default value : 1


color-3-r

“color-3-r” gfloat

The color of the third object

Flags : Read / Write

Default value : 0


color-4-b

“color-4-b” gfloat

The color of the fourth object

Flags : Read / Write

Default value : 0


color-4-g

“color-4-g” gfloat

The color of the fourth object

Flags : Read / Write

Default value : 1


color-4-r

“color-4-r” gfloat

The color of the fourth object

Flags : Read / Write

Default value : 0


color-5-b

“color-5-b” gfloat

The color of the fifth object

Flags : Read / Write

Default value : 0


color-5-g

“color-5-g” gfloat

The color of the fifth object

Flags : Read / Write

Default value : 0.5


color-5-r

“color-5-r” gfloat

The color of the fifth object

Flags : Read / Write

Default value : 1


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