# edgedetect

Performs canny edge detection on videos and images

## Example launch line

     gst-launch-1.0 videotestsrc ! videoconvert ! edgedetect ! videoconvert ! xvimagesink

## Hierarchy

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

## Factory details

Authors: – Michael Sheldon <mike@mikeasoft.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

### aperture

    “aperture” gint

Aperture size for Sobel operator (Must be either 3, 5 or 7

Flags : Read / Write

Default value : 3

### mask

    “mask” gboolean

Sets whether the detected edges should be used as a mask on the original input or not

Flags : Read / Write

Default value : true

### threshold1

    “threshold1” gint

Threshold value for canny edge detection

Flags : Read / Write

Default value : 50

### threshold2

    “threshold2” gint

Second threshold value for canny edge detection

Flags : Read / Write

Default value : 150

The results of the search are