REPOSITORY OVERVIEWLive repository statistics
★ 2Stars
⑂ 0Forks
◯ 0Open issues
◉ 2Watchers
39/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
30 Community adoption25% weight
5 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
75 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
GestureType
Overview
This project implements a virtual keyboard controlled by hand gestures using computer vision. It leverages the Mediapipe library for real-time hand tracking and OpenCV for rendering a graphical keyboard interface. Users can type by hovering their index finger over keys detected on screen, with hover duration triggering key presses.
The system supports:
- Real-time hand tracking and gesture-based key selection
- A full keyboard layout including alphabets, numbers, symbols, and control keys (e.g., BACKSPACE, ENTER, CAPS LOCK)
- Launching common applications and websites through typed commands
- Visual feedback including key highlighting, hover timers, and typed text display
Features
- Accurate single-hand tracking for keyboard interaction
- Hover-based key press detection with adjustable delay
- Dynamic CAPS LOCK toggle
- Support for launching desktop and web applications by typing and pressing ENTER
- On-screen display of typed text with automatic line wrapping
- Ability to close active windows via gesture command
Installation
-
Clone the repository:
git clone https://github.com/RayVader987/Gesture-Type.git
cd Gesture-Type
-
Create and activate a Python virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install required dependencies:
pip install -r requirements.txt
Usage
- Connect a webcam to your computer.
- Run the main script:
python main.py
- Use your index finger in front of the webcam to hover over virtual keys displayed on screen.
- Hold the finger steady over a key for 1 second to "press" it.
- Type commands like notepad, google, or youtube followed by ENTER to launch corresponding applications or websites.
- Use special keys like CAPS, BACKSPACE, CLEAR, SPACE, ENTER, and CLOSE as needed.
- Press the ESC key to exit the application.
Dependencies
- Python 3.7+
- OpenCV (opencv-python)
- Mediapipe
- PyAutoGUI
- PyGetWindow