GhostTouch is a futuristic desktop interaction tool that lets you control your computer using finger movements captured via your webcam โ no physical contact needed.
- ๐ท Real-time hand and finger tracking using your webcam
- ๐ฑ๏ธ Finger-based cursor movement (air mouse)
- ๐ Custom gesture detection (e.g., pinch to click)
- โก Smooth, responsive desktop control
- ๐ป Cross-platform (Windows, macOS, Linux)
GhostTouch uses MediaPipe for high-precision hand tracking, and PyAutoGUI to simulate system input (mouse movement and clicks).
Make sure Python 3.8+ is installed, then:
git clone https://github.com/yourusername/GhostTouch.git
cd GhostTouch
pip install -r requirements.txt
Run the main script: python ghosttouch.py
GhostTouch/ โโโ ghosttouch.py # Main app loop โโโ gestures.py # Gesture detection logic โโโ controller.py # System control interface โโโ utils.py # Smoothing, filters, helpers โโโ assets/ # (Optional) UI overlays or icons โโโ README.md # Project documentation
๐ค Pinch to click
โ๏ธ Two-finger swipe for scrolling
๐ Adjustable sensitivity and gesture zones
๐ฅ Webcam feed overlay with gesture markers
Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.