How to move the mouse pointer with the hand in Windows and Linux
DEPENDENCIES
OpenCV:https://github.com/opencv/opencv
Haar cascade file of the hand closed: https://github.com/Balaje/OpenCV/blob/master/haarcascades/hand.xml
Haar cascade file of the hand open: https://github.com/trane293/Palm-Fist-Gesture-Recognition/blob/master/open_palm.xml
HOW TO USE
In Pointer_mouse_hand_move.cpp change the line 17 with the absolute directory of haar cascade file. (idem for 19 line)
FirstFirst you need to have a webcam, through it we will move the mouse.
Put your hand(closed) in front of the webcam and move it, the mouse will move, open it to left mouse click.