Skip to content

Gesture

Vladimir Mandic edited this page Nov 9, 2020 · 9 revisions

Gesture Recognition

Gesture recognition is done by looking up coordinates of different detected landmarks

Entire implementation is in src/gesture.js and can be further extended with additional rules

There are three pre-defined methods:

  • face(): implements:
    • "facing <left|camera|right>"
    • "blink <left|right> eye"
    • "mouth <percentage> open"
    • "head <up|down>"
  • body(): implements:
    • "leaning <left|right>"
    • "raise <left|right> hand"
    • "i give up"
  • hand(): implements:
    • "<finger> forward <finger> up"
Clone this wiki locally