added iris gesture

master
Vladimir Mandic 2021-01-11 09:02:09 -05:00
parent b428700409
commit e64a5257f1
1 changed files with 4 additions and 1 deletions

@ -11,6 +11,8 @@ There are three pre-defined methods:
- "*blink `<left|right>` eye*" - "*blink `<left|right>` eye*"
- "*mouth `<percentage>` open*" - "*mouth `<percentage>` open*"
- "*head `<up|down>`*" - "*head `<up|down>`*"
- iris(): implements:
- "*iris looking at camera*"
- body(): implements: - body(): implements:
- "*leaning `<left|right>`*" - "*leaning `<left|right>`*"
- "*raise `<left|right>` hand*" - "*raise `<left|right>` hand*"
@ -22,7 +24,8 @@ Example output of `result.gesture`:
```js ```js
[ [
{face: "0", gesture: "facing camera"} {face: "0", gesture: "facing camera"}
{face: "0", gesture: "head down"} {face: "0", gesture: "head up"}
{iris: "0", gesture: "looking at camera"}
{body: "0", gesture: "i give up"} {body: "0", gesture: "i give up"}
{body: "0", gesture: "leaning left"} {body: "0", gesture: "leaning left"}
{hand: "0", gesture: "thumb forward middlefinger up"} {hand: "0", gesture: "thumb forward middlefinger up"}