https://github.com/aquatiko/gesture-based-mouse-controller
A gesture based Mouse controller using openCV and PyMouse
https://github.com/aquatiko/gesture-based-mouse-controller
cv2 dlib finger-detection image-processing mouse-controller opencv pymouse thresholding wink-detection
Last synced: 6 months ago
JSON representation
A gesture based Mouse controller using openCV and PyMouse
- Host: GitHub
- URL: https://github.com/aquatiko/gesture-based-mouse-controller
- Owner: aquatiko
- License: apache-2.0
- Created: 2018-07-07T07:59:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-28T13:00:05.000Z (almost 6 years ago)
- Last Synced: 2025-04-10T03:51:23.743Z (6 months ago)
- Topics: cv2, dlib, finger-detection, image-processing, mouse-controller, opencv, pymouse, thresholding, wink-detection
- Language: Jupyter Notebook
- Homepage:
- Size: 1.67 MB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gesture-based-Mouse-Controller
## How to use?
1. 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.
2. Use fingers to control mouse movement i.e 1-Left 2-Right 3-Up 4-Down
3. When the cursor is at desired position, blink both your eyes for 1-2 sec for a left click at the position.
4. When the cursor is at desired position, raise both your eyeBrows for 1-2 sec for a right click at the position.
5. 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)
6. You can self calibrate(set threshold of) mouse movement speed and other parameters for better senstivity.## Demo
