The Virtual Hand Gesture Keyboard is an interactive virtual keyboard that allows users to type using hand gestures in front of their webcam. It uses the OpenCV library for hand tracking and recognizes hand gestures to simulate keypresses on the user's computer.
-
Clone the repository:
git clone https://github.com/MohamedAlaouiMhamdi/virtual_keyboard.git
-
Install the required libraries:
pip install opencv-python mediapipe numpy pynput
-
Run the application:
python virtual_keyboard.py
- Place your hand in front of the webcam to enable hand tracking.
- Use gestures to select keys from the virtual keyboard displayed on the screen.
- The selected keys will be typed into any active text input on your computer.
The Virtual Hand Gesture Keyboard uses the Mediapipe library for hand tracking. It tracks the user's hand landmarks and calculates the distance between specific landmarks to recognize gestures.
The virtual keyboard consists of buttons, and each button is associated with a specific key. When a user's hand is detected, the program identifies the hand gestures and simulates keypresses based on the gestures.
Design.sans.titre.1.mp4
Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.