Skip to content

This is a virtual mouse which can be controlled by hand gestures. It is made using python and opencv. It can be used to control the mouse pointer and also to perform left click and right click.

Notifications You must be signed in to change notification settings

lokendarjangid/virtual-mouse-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virtual-mouse-new

This is a virtual mouse which can be controlled by hand gestures. It is made using python and opencv. It can be used to control the mouse pointer and also to perform left click and right click.

hands images

Requirements

  • Python 3.8 or above
  • OpenCV
  • Numpy
  • PyAutoGUI

How to use

  • Clone the repository
  • Run pip install -r requirements.txt in cmd
  • Run the main.py file
  • Make sure that the camera is on and the hand is in the frame
  • Use the following gestures to control the mouse pointer
Gesture Action
Move Index Finger Move the mouse pointer
Touch Index and Middle Finger Left click
Increase or Decrease Distance b/w Index Finger and Thumb Volume
Touch Index, Middle and Ring Finger. Move hand Up and Down Scroll page

About

This is a virtual mouse which can be controlled by hand gestures. It is made using python and opencv. It can be used to control the mouse pointer and also to perform left click and right click.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages