Skip to content

efetunca/Finger-Counter

Repository files navigation

MIT License

Finger Counter

A simple project for counting the fingers that appears on the computer's webcam.

The program is able to detect whether the hand is left or right, but it is not yet able to detect both hands at the same time.

How to Install and Run?

  • Clone the project to your computer:
  git clone https://github.com/efetunca/Finger-Counter.git

or simply download the project as ZIP file.

  • Go to project directory:
  cd Finger-Counter
  • Install necessary modules:
  sudo pip3 install -r requirements.txt
  • Run the program:
  python3 FingerCounter.py

Screenshots

Screenshot 1 - Right Hand with 5 Fingers

Screenshot 2 - Left Hand with No Fingers

Screenshot 3 - Right Hand with 3 Fingers

Troubleshooting

If you get the Frames can not be received! Exiting... error, simply run the program again.

Future Updates

  • The ability to detect both hands at the same will be added.

  • The feature of detecting hand signs (e.g. Thumbs Up) will be added.

  • Hand detection will be done with a self-written machine learning algorithm instead of the Mediapipe module.

Related Project

To check out my other project that is similar to this one:

Virtual Painter

About

Finger counter with OpenCV and Mediapipe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages