AirPointer is a touchless mouse application that uses computer vision models to detect hand gestures and keypoints. The application features a graphical user interface (GUI) for real-time webcam-based inference.
- Dynamic Model Selection: Choose between different models for inference.
- Real-Time Metrics: Display AI time and FPS during inference.
- Logging System: Track application events and errors.
- User-Friendly UI: Start/stop webcam and view processed frames with annotations.
- Python 3.8+
- Virtual environment (recommended)
- Clone the repository:
git clone <repository-url> cd AirPointer
- Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Start the GUI:
python ui.py
- Use the dropdown menu to select a model.
- Click "Start Webcam" to begin inference.
- View real-time metrics and processed frames.
- Click "Stop Webcam" to end the session.
Application logs are saved in application.log.
Run the test suite:
pytest tests/- Webcam not detected: Ensure your webcam is connected and accessible.
- Missing weights: Verify that the model weights are downloaded correctly.
- Performance issues: Check system resources and reduce webcam resolution if needed.
Contributions are welcome! Please submit a pull request or open an issue for discussion.
This project is licensed under the MIT License.