Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 723 Bytes

File metadata and controls

22 lines (17 loc) · 723 Bytes

Gesture Controlled Mouse Using OpenCV

Libraries used

  1. OpenCV-Python: pip install opencv-python
  2. mouse : pip install mouse
  3. pyautogui: pip install pyautogui

Make sure you install these inside root

HOW TO USE

  1. Clone this repository
  2. Adjust HSV values in mouse.py according to the color you are using (I recommend using RED for moving mouse , BLUE and GREEN for click and scroll features)
  3. Open terminal and go to the location of this project
  4. Type sudo su ( to enter into root)
  5. run the code using python mouse.py

NOTE

  1. For click and scroll features , the code needs to be executed with root permission

Features to be added

  1. Drag feature can be added
  2. Right button click