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.
I0930 10:06:46.818581 5139 demo_run_graph_main.cc:53] Initialize the calculator graph.
E0930 10:06:46.820902 5139 demo_run_graph_main.cc:146] Failed to run the graph: ValidatedGraphConfig Initialization failed.
AnnotationOverlayCalculator: ; cc->Inputs().HasTag(recognizedHandMouvementScrollingTag)_overlay_calculator.cc:176)