p-jonczyk / cam-hand-timer

Hand detection, finger counter, rock/paper/scissors live game with use of opencv and mediapipe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALLATION

pip install -r requirements.txt

ABOUT

Detection of hands with use of mediapipe and opencv-python. In addition program may count number of shown fingers (for right hand) and may play with you rock/paper/scissors live.

My first learning project with use of opencv and in generall image processing of any kind

KEY INFO

  1. PROGRAM RECOGNISE CHOICES (R/P/S) AND COUNT FINGERS ONLY FOR RIGHT HAND
  2. PRESS 'Q' TO EXIT
  3. RIGHT WAY TO SHOW R/P/S CHOICE

rps count

HOW TO

  1. Download project / clone git.
  2. Make sure you made INSTALLATION step.
  3. For counting fingers run: fingers_couint.py
  4. For rock/paper/scissors run rps_game.py

Great help with understanding opencv and detection was Murtaza's Workshop - Robotics and AI YT channel (https://www.youtube.com/c/MurtazasWorkshopRoboticsandAI/)

About

Hand detection, finger counter, rock/paper/scissors live game with use of opencv and mediapipe

License:MIT License


Languages

Language:Python 100.0%