## facedetect facedetect — Performs face detection on videos and images, providing detected positions via bus messages |

## Synopsis

    struct              Gstfaceblur;
    struct              Gstfacedetect;

## Properties

      "display"                  gboolean              : Read / Write
      "profile"                  gchar*                : Read / Write
      "flags"                    GstOpencvFaceDetectFlags  : Read / Write
      "min-neighbors"            gint                  : Read / Write
      "min-size-height"          gint                  : Read / Write
      "min-size-width"           gint                  : Read / Write
      "scale-factor"             gdouble               : Read / Write

## Description

FIXME:Describe facedetect here.

### Example launch line

    1
    gst-launch-0.10 videotestsrc ! decodebin ! ffmpegcolorspace ! facedetect ! ffmpegcolorspace ! xvimagesink

## Synopsis

### Element Information

plugin | opencv
author | Michael Sheldon <mike@mikeasoft.com>
class | Filter/Effect/Video

### Element Pads

name | sink
direction | sink
presence | always
details | video/x-raw-rgb

name | src
direction | source
presence | always
details | video/x-raw-rgb

## Details

### struct Gstfaceblur

    struct Gstfaceblur;

### struct Gstfacedetect

    struct Gstfacedetect {
      GstOpencvVideoFilter element;

      gboolean display;

      gchar *profile;
      gdouble scale_factor;
      gint min_neighbors;
      gint flags;
      gint min_size_width;
      gint min_size_height;

      IplImage *cvGray;
      CvHaarClassifierCascade *cvCascade;
      CvMemStorage *cvStorage;
    };

## Property Details

### The `"display"` property

      "display"                  gboolean              : Read / Write

Sets whether the detected faces should be highlighted in the output.

Default value: TRUE

### The `"profile"` property

      "profile"                  gchar*                : Read / Write

Location of Haar cascade file to use for face detection.

Default value: "/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml"

### The `"flags"` property

      "flags"                    GstOpencvFaceDetectFlags  : Read / Write

Flags to cvHaarDetectObjects.

### The `"min-neighbors"` property

      "min-neighbors"            gint                  : Read / Write

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

Allowed values: >= 0

Default value: 3

### The `"min-size-height"` property

      "min-size-height"          gint                  : Read / Write

Minimum window height size.

Allowed values: >= 0

Default value: 0

### The `"min-size-width"` property

      "min-size-width"           gint                  : Read / Write

Minimum window width size.

Allowed values: >= 0

Default value: 0

### The `"scale-factor"` property

      "scale-factor"             gdouble               : Read / Write

Factor by which the windows is scaled after each scan.

Allowed values: [1.1,10]

Default value: 1.1