# handdetect

Performs hand gesture detection on videos, providing detected hand positions via bus message and navigation event, and deals with hand gesture events

## Hierarchy

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

## Implemented interfaces

    GstNavigation

## Factory details

Authors: – Andol Li <andol@andol.info></andol@andol.info>

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

### ROI-HEIGHT

    “ROI-HEIGHT” gint

HEIGHT of left-top pointer in region of interest Gestures in the defined region of interest will emit messages

Flags : Read / Write

Default value : 0

### ROI-WIDTH

    “ROI-WIDTH” gint

WIDTH of left-top pointer in region of interest Gestures in the defined region of interest will emit messages

Flags : Read / Write

Default value : 0

### ROI-X

    “ROI-X” gint

X of left-top pointer in region of interest Gestures in the defined region of interest will emit messages

Flags : Read / Write

Default value : 0

### ROI-Y

    “ROI-Y” gint

Y of left-top pointer in region of interest Gestures in the defined region of interest will emit messages

Flags : Read / Write

Default value : 0

### display

    “display” gboolean

Whether the detected hands are highlighted in output frame

Flags : Read / Write

Default value : true

### profile-fist

    “profile-fist” gchararray

Location of HAAR cascade file (fist gesture)

Flags : Read / Write

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

### profile-palm

    “profile-palm” gchararray

Location of HAAR cascade file (palm gesture)

Flags : Read / Write

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

The results of the search are