This project allows you to emulate a middle mouse button click by opening your mouth, using a web camera. It also enables 3-button mouse emulation based on face direction.
- Windows
- Python 3.10
- Clone the repository:
> git clone https://github.com/thecoolmuseum/trackface.git
> cd middle-button-click- Run setup.bat to create a virtual environment and install dependencies:
> setup.bat
- Run run.bat to start the application:
> run.bat
- Q: Quit the application
- C: Change the camera
- Space: Move the mouse based on face direction
- Ensure your web camera is properly connected and recognized by the system.
- The application uses MediaPipe for face tracking and PyAutoGUI for mouse control.