Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 1.64 KB

File metadata and controls

82 lines (54 loc) · 1.64 KB

Project Idea

The project allows the user to control the mouse using hand gestures captured from a webcam.

It uses:

  • A camera to see the hand
  • Simple finger position checks
  • Basic mouse control functions

This project was built only for learning experience, not for professional or commercial use.


Tools Used

  • Python
  • OpenCV
  • MediaPipe
  • PyAutoGUI
  • NumPy

All tools used are beginner-friendly and commonly used in computer vision projects.


What the System Can Do

Mouse Movement

  • Mouse moves only when the index finger is up
  • Movement is smooth and easy to control
  • Mouse stops during other gestures

Left Click

  • Done using thumb and index finger pinch
  • Uses simple delay logic to avoid mistakes

Right Click

  • Done using double pinch
  • Two quick pinches within a short time

Scroll

  • Index + Middle finger up → scroll up
  • Thumb up → scroll down
  • Scrolling works but is not perfect

Exit

  • Closed fist held for 3 seconds
  • Asks for confirmation before exiting

How It Works (Simple Explanation)

  1. Webcam captures live video
  2. MediaPipe finds hand landmarks
  3. Finger positions are checked
  4. Simple rules decide the action
  5. Mouse actions are performed

Limitations

  • Works best with good lighting
  • Very basic gesture logic

Conclusion

This is a small and simple project made only for learning purposes.
It helped me gain hands-on experience with computer vision and gesture-based interaction.
Even though it is basic, it provides a good foundation for more advanced projects in the future.