diff --git a/Gesture.md b/Gesture.md index eb58af0..3eb50a8 100644 --- a/Gesture.md +++ b/Gesture.md @@ -17,3 +17,15 @@ There are three pre-defined methods: - "*i give up*" - hand(): implements: - "*`` forward `` up*" + +Example output of `result.gesture`: +```js +[ + {face: "0", gesture: "facing camera"} + {face: "0", gesture: "head down"} + {body: "0", gesture: "i give up"} + {body: "0", gesture: "leaning left"} + {hand: "0", gesture: "thumb forward middlefinger up"} +] +``` +Where number after gesture refers to number of person that detection belongs to in scenes with multiple people. diff --git a/Outputs.md b/Outputs.md index 1f2eace..b20acf4 100644 --- a/Outputs.md +++ b/Outputs.md @@ -41,12 +41,13 @@ result = { emotion, // 'angry', 'discust', 'fear', 'happy', 'sad', 'surpise', 'neutral' } ], - gesture: // object containing parsed gestures - { - face, // - body, // - hand, // - } + gesture: // + [ + { + : , + gesture: + } + ], performance = { // performance data of last execution for each module measuredin miliseconds // note that per-model performance data is not available in async execution mode backend, // time to initialize tf backend, keeps longest value measured