# faceblur

Blurs faces in images and videos.

## Example launch line

     gst-launch-1.0 autovideosrc ! videoconvert ! faceblur ! videoconvert ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──GstOpencvVideoFilter
                                ╰──faceblur

## Factory details

Authors: – Michael Sheldon <mike@mikeasoft.com>,Robert Jobbagy <jobbagy.robert@gmail.com></jobbagy.robert@gmail.com></mike@mikeasoft.com>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – opencv

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: RGB
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: RGB
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### flags

    “flags” Opencv-face-blur-flags *

Flags to cvHaarDetectObjects

Flags : Read / Write

Default value : do-canny-pruning

### min-neighbors

    “min-neighbors” gint

Minimum number (minus 1) of neighbor rectangles that makes up an object

Flags : Read / Write

Default value : 3

### min-size-height

    “min-size-height” gint

Minimum window height size

Flags : Read / Write

Default value : 30

### min-size-width

    “min-size-width” gint

Minimum window width size

Flags : Read / Write

Default value : 30

### profile

    “profile” gchararray

Location of Haar cascade file to use for face blurion

Flags : Read / Write

Default value : /usr/share/opencv4/haarcascades/haarcascade_frontalface_default.xml

### scale-factor

    “scale-factor” gdouble

Factor by which the windows is scaled after each scan

Flags : Read / Write

Default value : 1.25

## Named constants

### Opencv-face-blur-flags

#### Members

`do-canny-pruning` (0x00000001) – Do Canny edge detection to discard some regions

The results of the search are