Type Alias GestureResult

GestureResult:
    | {
        face: number;
        gesture: FaceGesture;
    }
    | {
        gesture: IrisGesture;
        iris: number;
    }
    | {
        body: number;
        gesture: BodyGesture;
    }
    | {
        gesture: HandGesture;
        hand: number;
    }

Gesture combined results Each result has:

  • part: part name and number where gesture was detected: face, iris, body, hand
  • gesture: gesture detected