Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baponkar/mouse_controlling_with_eye
This Python Script helps to move a mouse cursor by using eye.We need two python library openCV and pyautogui.To download this two library by command 'sudo pip install cv2','sudo pip install pyautogui'
https://github.com/baponkar/mouse_controlling_with_eye
eye-detection opencv opencv-python python python3
Last synced: 8 days ago
JSON representation
This Python Script helps to move a mouse cursor by using eye.We need two python library openCV and pyautogui.To download this two library by command 'sudo pip install cv2','sudo pip install pyautogui'
- Host: GitHub
- URL: https://github.com/baponkar/mouse_controlling_with_eye
- Owner: baponkar
- License: gpl-3.0
- Created: 2019-03-01T16:51:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-28T13:39:12.000Z (9 months ago)
- Last Synced: 2024-08-02T13:18:17.291Z (3 months ago)
- Topics: eye-detection, opencv, opencv-python, python, python3
- Language: Python
- Homepage:
- Size: 58.7 MB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Mouse Controll With Eye
![Python3](https://img.shields.io/badge/Python-3-green)
![OpenCV2](https://img.shields.io/badge/Open-CV2-yellow)
[![Pyautogui](https://img.shields.io/badge/Pyauto-Gui-yellowgreen)](https://pyautogui.readthedocs.io/en/latest/#:~:text=PyAutoGUI%20lets%20your%20Python%20scripts%20control%20the%20mouse,Linux%2C%20and%20runs%20on%20Python%202%20and%203.)* :octocat: Version -v-1.0.0
* :octocat: License- GNU GPL V3.O## DESCRIPTION:
* This Python🐍 Script helps to move a mouse cursor by using eye.
* This script just move the cursor➡️ not to click by eye👁 blink.
* You can help me to add that feature.
* To access the feature you must have a webcam🎦 in your computer💻.* The following Python library Modules required [openCV](https://pypi.org/project/opencv-python/) and [pyautogui](https://pypi.org/project/PyAutoGUI/) :
* You can download those by this pip commands.---
## Run this script
```
#To create virtual envirionment
$ python -m venv python_dev#To activate virtual envirionment
$ source python_dev/bin/activate #for linux
$ .\venv\Scripts\activate #for windows power shell## Download the requirement
#first try this
$ pip install requirement.txt# If download not works then install manually
$ pip install cv2
#if not works then try this
$ pip install opencv-python
$ pip install pyautogui#To run python script
$ python3 mouse_control_by_eye.py
$ q #To break from loop
```---
See this [▶️Youtube](https://youtu.be/S0y8dxwbJzY) [![Screenshot](Screenshot_20200928-000225_YouTube.jpg)](https://youtu.be/S0y8dxwbJzY) link to see the demo Video.
* Credits : [Shameem Hameed](http://umich.edu/~shameem)
* I will appreciate :+1: any kind suggestions and help.