Gesture

class Fingo::Gesture

Gesture of the hand.

Public Functions

Gesture(GestureType gestureType, GestureName gestureName, float gestureConfidence)

Create gesture by gesture type, gesture name and gesture confidence.

Parameters
  • gestureName: Gesture type of the gesture.
  • gestureName: Gesture name of the gesture.
  • gestureConfidence: Gesture confidence of the gesture. Range is 0 - 1.

GestureType GetGestureType()

Get gesture type of the gesture.

Return
Gesture type of the gesture.

GestureName GetGestureName()

Get gesture name of the gesture.

Return
Gesture name of the gesture.

float GetGestureConfidence()

Get gesture confidence of the gesture. Range is 0 - 1.

Return
Get gesture confidence of the gesture. Range is 0 - 1.

enum Fingo::GestureType

The gesture type of the gesture.

Values:

None = -1

Undefined gesture.

GestureTypeBasic = 0

Basic gesture type.

GestureTypeExtended = 1

Extended gesture type.

GestureTypeCustom = 2

Custom gesture type.

enum Fingo::GestureName

The gesture name of the gesture.

Values:

None = 0

Undefined gesture.

Palm = 1

Palm gesture. Extend five fingers.

Grab = 2

Grab gesture. Bend five fingers.

ShootEm = 3

ShootEm gesture. Extend thumb and index finger and bend the others.

CallMe = 4

Call Me gesture. Extend thumb and pinky finger and bend the others.

Okay = 5

Okay gesture. Extend middle, ring and pinky fingers, and connect thumb and index fingers as a circle.

Fist = 6

Fist gesture. Bend five fingers close.

Point = 7

Point gesture. Extend index finger and bend the others.

Peace = 8

Peace Sign gesture. Extend index and middle finger and bend the others.

ThumbsUp = 9

Thumbs up gesture. Extend thumb finger and bend the others.

PinchCloseMRP = 10

Pinch gesture close middle ring pinky fingers. Connect extended thumb and index finger and bend others.

PinchOpenMRP = 11

Pinch gesture open middle ring pinky fingers. Connect extended thumb and index finger and extend others.

CoverEye = 27

Cover eye gesture. Cover the camera by the hand.

Pinky = 100

Pinky finger extended gesture.

MiddleFinger = 101

Middle finger extended gesture.

Horns = 102

Sign of the horns gesture. Extend index and pinky fingers and bend the others.

Rock = 103

Rock gesture. Extend thumb, index and pinky finger and bend the others.

ThreeFingersIMR = 104

Stretchout Finger Two Three Four gesture. Extend index, middle and ring finger and bend the others.

FourFingersIMRP = 105

Stretchout Finger Two Three Four Five gesture. Extend index, middle, ring and pinky finger and bend thumb finger.

ThreeFingersTIM = 106

Stretchout Finger Two Three Four Five gesture. Extend thumb, index and middle finger and bend the others.

CustomNone = 1000

Custom gesture not detected.

CustomSnapStartOne = 1001

Special gesture one. Snap start gesture one.

CustomSnapStartTwo = 1002

Special gesture two. Snap Start gesture two.

CustomSnapEndOne = 1003

Special gesture three. Snap End gesture one.

CustomSnapEndTwo = 1004

Special gesture four. Snap End gesture two.

enum Fingo::GestureDetectionMode

Gesture detection mode.

Values:

General

General gesture detection mode.

Advanced

Advanced gesture detection mode.