A mouse. The mouse. A technology here to revolutionise the mouse forever.
This is my attempt to recreate what I saw in the Iron Man movies as a kid. It allows you to control your laptop using just your hands and a camera. It uses cv2 and mediapipe to understand the gestures.s.
You can generate a standalone Windows build at dist/TouchSense.exe.
That file can be shared directly with other Windows users without asking them to install Python or run build commands.
The checked-in executable is stored with Git LFS so it can live on GitHub without hitting the normal file size limit.t.
Install the project dependencies with:
pip install -r requirements.txtGestures:-
- Index+Middle up, rest down: General mouse pointer
- Pinch: Hold (to drag around objects like windows)
- Thumbs up/down: Scroll up/down
To rebuild it locally, run:
.\build_exe.ps1This uses PyInstaller in one-file windowed mode and bundles MediaPipe assets with the app. Generated output such as build/ and *.spec files are ignored in Git. The distributable dist/TouchSense.exe is tracked separately with Git LFS so it can be kept in the repository.