Skip to content

Aditya-Gamer011/TouchSense

Repository files navigation

TouchSense

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.

Windows executable

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.

Setup

Install the project dependencies with:

pip install -r requirements.txt

Gestures:-

  1. Index+Middle up, rest down: General mouse pointer
  2. Pinch: Hold (to drag around objects like windows)
  3. Thumbs up/down: Scroll up/down

Executable build

To rebuild it locally, run:

.\build_exe.ps1

This 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.

About

A mouse. The mouse. The technology here to revolutionise the mouse forever.

Resources

License

Stars

Watchers

Forks

Packages

No packages published