Goal of this gist is to recognize some simple hand mouvements like Scrolling, Zoom in/out and Slide left/right (see 08-hand-mouvement.gif below).
The whole code for that can be found here: hand-mouvement-recognition-calculator.cc.
You can clone my forked version of mediapipe here: https://github.com/TheJLifeX/mediapipe. I have already commited all code in that repository in the "hand-mouvement-recognition" branch (https://github.com/TheJLifeX/mediapipe/tree/hand-mouvement-recognition).
If you want to know how to recognize hand gesture like ONE, TWO, TREE, FOUR, FIVE, SIX, YEAH, ROCK, SPIDERMAN and OK. You can read this gist: Simple Hand Gesture Recognition.
Prerequisite: You kwon how to run the hand tracking example.
@TheJLifeX,
I come across the below line in your code here,
float threshold = 0.01;
float closeFingerThreshold = 0.01;
you used a threshold variable instead of "closeFingerThreshold " for both open and close cases.
is this behavior RIGHT?
please advise