From a137e535d323ce971865ff3d592eaf964ea65ee2 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 19 Apr 2021 09:29:59 -0400 Subject: [PATCH] update gestures --- Gesture.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Gesture.md b/Gesture.md index c51f9f6..9d23ebb 100644 --- a/Gesture.md +++ b/Gesture.md @@ -7,12 +7,15 @@ Entire implementation is in `src/gesture.js` and can be further extended with ad There are three pre-defined methods: - face(): implements: - - "*facing ``*" + - "*facing ``*": if depth of left and right face border matches - "*blink `` eye*" - "*mouth `` open*" - "*head ``*" - iris(): implements: - - "*iris looking at camera*" + - "*facing center*": if iris area sizes matches + - "*looking *": if iris center is far from eye outside corner + - "*looking *": if iris center is far from eye bottom eyelid + - "*looking center*": if neither up/down and left/right - body(): implements: - "*leaning ``*" - "*raise `` hand*" @@ -26,7 +29,7 @@ Example output of `result.gesture`: [ {face: "0", gesture: "facing camera"} {face: "0", gesture: "head up"} - {iris: "0", gesture: "looking at camera"} + {iris: "0", gesture: "looking center"} {body: "0", gesture: "i give up"} {body: "0", gesture: "leaning left"} {hand: "0", gesture: "thumb forward middlefinger up"}