A real-time hand gesture recognition system that controls your mouse cursor, optimized with Intel oneAPI for cross-architecture acceleration.
- π Index finger tracking for cursor movement
- π€ Pinch gesture for mouse clicks
- β‘ Intel-optimized performance via:
- OpenVINO toolkit for AI inference
- oneDNN acceleration for MediaPipe
- Intel IPP in OpenCV
- πΌοΈ Air drawing mode with gesture-based color switching
This project leverages multiple Intel technologies:
| Component | Intel Tech Used | Benefit |
|---|---|---|
| AI Inference | OpenVINO Toolkit | 3-5x faster inference on Intel CPUs/GPUs |
| Math Operations | oneDNN | Accelerated landmark calculations |
| Image Processing | Intel IPP (via OpenCV) | Optimized frame processing |
| Thread Management | Intel TBB | Efficient multi-threading |
- Intel CPU (6th Gen+) or GPU (Iris Xe/Arc)
- Python 3.9+
- Windows/Linux
# Clone the repository
git clone https://github.com/devznsh/AirCursor.git
cd AirCursor
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
.\venv\Scripts\activate # Windows
# Install dependencies (Intel-optimized versions)
pip install -r requirements.txt
gesture-mouse-oneapi/
βββ models/ # OpenVINO IR models
βββ gesture_mouse.py # Main control script
βββ air_drawing.py # Drawing mode
βββ openvino_utils.py # Intel acceleration helpers
βββ requirements.txt # Intel-optimized packages