This is a finger tracking python program. It uses computer vision to track the movements of your palm using 21 reference points, out of them 5 are used for the tip of the fingers. It is made with the help of mediapipe(https://google.github.io/mediapipe/solutions/hands) a library built by google.
Download mediapipe with the following command-
pip install mediapipe
The palm is tracked using 21 reference points. These reference points are predefined. You can get the reference points for the tips from this image. The reference points are as follows-
After executing the program a camera window will open up, you will be able to see your the chosen fingertip being tracked in this camera window, a pink circle will indicate the chosen fingertip. The program is able to track the same fingertip on 2 palms at a time. This program also shows the frame rate in the top left corner of the camera window once the program is executed.
Libraries used-> opencv(cv2), mediapipe, time.
