Skip to content

A virtual mouse controlled by hand gestures. Created by using opencv, mediapipe, pyautogui, and tkinter.

License

Notifications You must be signed in to change notification settings

sleepncaffeine/Camera_Virtual_Mouse

Repository files navigation

Hand Gesture Mouse

Introduction

This project is a hand gesture mouse using OpenCV, Mediapipe and Python. It uses the cam to detect hand gestures and move the mouse accordingly.
It also has fuctions to perform left and right clicks, and scroll up and down etc..

Right hand is used to control the mouse and left hand is used to perform other functions such as copy/paste, undo/redo etc.
Left hand's functions can be customed by tkinter GUI.

Requirements

  • Python 3.11
  • OpenCV
  • Mediapipe
  • PyAutoGUI
  • Tkinter
  • TTkthemes
  • Pillow

How to use

  1. Clone the repo
  2. Install the requirements
  3. Run GUI_hand_gesture_mouse.py