This Python script utilizes the MediaPipe library for hand tracking and the NirCmd utility to create a virtual mouse and keyboard interface. The program enables users to control their computer by detecting hand gestures through the camera.
- NirCmd
- OpenCV
- MediaPipe
In My project there are 2 modes
- Mode 1: Volume and Brightness Controls (Keyboard)
- Mode 2: (Mouse Control)
- Switch Gestures
- mode 1 <==> mode 2
Volume Control
Brightness Control
|
In this mode, the script enables virtual mouse control, The following mouse actions are supported:
-
Move Cursor
-
Left Click
-
Right Click
-
Double Click
-
Scroll Up
-
Scroll Down
-
Drag And Drop
See the video to know the required Gestures: -
Please wait for loading.......