- Run the ipynb and keep a static background in the blue rectangele for some time. It is used for calibrating background, so that we can later detect objects in that frame.
- Use fingers to control mouse movement i.e 1-Left 2-Right 3-Up 4-Down
- When the cursor is at desired position, blink both your eyes for 1-2 sec for a left click at the position.
- When the cursor is at desired position, raise both your eyeBrows for 1-2 sec for a right click at the position.
- Press 'q' to exit and 'r' to reset background (remember the white parts in threshold window is what the feed is detecting, so make sure it's only your hand)
- You can self calibrate(set threshold of) mouse movement speed and other parameters for better senstivity.
divyalakhwani31 / gesture-based-mouse-controller Goto Github PK
View Code? Open in Web Editor NEWThis project forked from aquatiko/gesture-based-mouse-controller
A gesture based Mouse controller using openCV and PyMouse
License: Apache License 2.0