Skip to content

Frustum01/Smart-mouse-controller-using-hand-gesture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ–๏ธ Hand Tracking & Gesture Control

A real-time hand tracking project using OpenCV and MediaPipe that enables users to control their computer with simple hand gestures. This project supports mouse movement, clicking, scrolling, and more โ€” creating a smooth, touch-free interaction system.


โœจ Features

  • ๐ŸŽฏ Real-time hand & finger landmark detection
  • ๐Ÿ–ฑ๏ธ Mouse movement with index finger
  • ๐Ÿ‘† Left & right click using gestures
  • ๐Ÿ“œ Scroll up/down with hand signs
  • ๐Ÿ“ธ Take screenshots using gestures
  • โšก Smooth & responsive tracking

๐Ÿ› ๏ธ Tech Stack

  • Python 3.8+
  • OpenCV โ€“ Computer vision library
  • MediaPipe โ€“ Hand landmark detection
  • Autopy โ€“ Mouse/keyboard control

๐Ÿ“‚ Project Structure

โ”œโ”€โ”€ module.py          # Hand tracking module (class + utility functions)
โ”œโ”€โ”€ script.py          # Main script for gesture control
โ”œโ”€โ”€ requirements.txt   # Dependencies
โ””โ”€โ”€ README.md          # Project documentation

๐Ÿš€ Getting Started

1. Clone the Repository

git clone https://github.com/yourusername/hand-gesture-control.git
cd hand-gesture-control

2. Install Dependencies

pip install -r requirements.txt

3. Run the Project

python script.py

๐ŸŽฎ Gestures Implemented

Gesture Action
โœ‹ Index finger up Move mouse
โ˜ Index + Middle finger Left click
โœŒ Fingers apart Right click
โœŠ Fist close Scroll down
๐Ÿ– Palm open Scroll up
๐Ÿคž Pinch Take screenshot

๐Ÿ”ฎ Future Plans

  • Add more custom gestures (drag & drop, volume control, app switching)
  • Integrate AI/ML models for smarter recognition
  • Package as a cross-platform desktop app

๐Ÿ‘จโ€๐Ÿ’ป Author

Developed by [Sachin Kushwaha] ๐Ÿš€
Feel free to fork, star โญ, and contribute!

About

A real-time hand tracking project built with OpenCV and MediaPipe that lets you control your computer using hand gestures. Supports mouse movement, clicking, scrolling, and more, providing an intuitive touch-free interaction system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages