In this project I am going to learn how to count fingers. I first look into hand tracking and then I will use the hand landmarks to count of the fingers.
- Can track your hand in real-time
- Can show the number of fingers raised
- Clone this repository on your computer
https://github.com/paveldat/finger_counter.git
- Install all the requirements
run libraries.bat
orpip install -r requirements.txt
- Run the program
python main.py
You might face issue with webcam not showing and you get errors.
To solve it just change the value in this line (for example to 1
).
cap = cv2.VideoCapture(0)
Increment this number until you see your webcam.