Hand Gesture Recognition is a project aimed at developing a system capable of accurately detecting and recognizing hand gestures in real-time. Hand gestures serve as a powerful form of non-verbal communication and can be utilized to control a wide range of applications and devices. This project leverages computer vision techniques and machine learning algorithms to analyze video input from a webcam and identify specific hand gestures.
- Add Paper Rock Scissors game
- Add new Tkinter mode, key
z
and tkinter_mode1
- Create a Widget to show a image
- Integrate the slider widget with the hand gesture recognition system
- Add hand gesture recognition to control the slider widget (Clamping)
- Add new mode to enable Tkinter, key
t
and mode2
- Add new Tkinter mode, key
c
and tkinter_mode0
- Configure Tkinter
- Create a Widget to show a slider
- Detect if all hands are closed to exit application
- Real-time hand tracking.
- Detection and display of finger landmark points.
- Drawing lines representing the movement of the index finger when it is raised.
- Clearing the drawn lines when the hand is opened.
- Text messages indicating the hand state (open hand, closed hand, raised index finger).
- Python 3.9.6
- OpenCV
- MediaPipe
- WebCam
Install the required libraries by executing the following command in your terminal:
pip3 install -r requirements.txt
- Run the Python script hand_tracking.py in your development environment or execute the following command in the terminal:
python3 hand_tracking.py
python3 hand_tracking_tk.py
python3 hand_tracking_game.py
-
A window will open showing the live camera feed with the overlay of hand landmark points and lines tracking the movement of the index finger when it is raised.
-
To exit the program, close either hand.
https://drive.google.com/file/d/1GdiIMFSnSwg4b0-_ezIB-5S1d88U3Tza/view?usp=drive_link (simple) https://drive.google.com/file/d/1ZMPuHZ25x8bn6H5G6b4Tvw4An6gMjx8D/view?usp=drive_link (complete)
The current implementation of the hand gesture recognition system has the following limitations:
- The Python version is limited to
3.9.6
, as the MediaPipe library is not compatible with Python3.10+
.