Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruban-edward/ai-virtual-mouse
Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera.
https://github.com/ruban-edward/ai-virtual-mouse
autopy mediapipe numpy opencv
Last synced: about 1 month ago
JSON representation
Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera.
- Host: GitHub
- URL: https://github.com/ruban-edward/ai-virtual-mouse
- Owner: Ruban-Edward
- License: mit
- Created: 2022-12-15T12:15:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-17T18:21:42.000Z (about 2 years ago)
- Last Synced: 2023-08-13T04:48:34.352Z (over 1 year ago)
- Topics: autopy, mediapipe, numpy, opencv
- Language: Python
- Homepage:
- Size: 1.31 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## AI-Virtual-Mouse
> Developed an AI-based approach for controlling the mouse movement using Python and openCV with real-time camera that detects hand landmarks, tracks gesture patterns instead of a physical mouse.## Dependencies -
> Please install all the required dependencies.
* openCV
* mediapipe
* autopy
* numpy## Installation
Install Python
Install Python In your working System
Version Python 3.8.0```bash
https://www.python.org/downloads/release/python-380
```Python Libraries
Open you COMMAND PROMPT in Administrator and Execute below commands
1. IMPORT CV2
```bash
pip install opencv-python
```For image processing and drawing
OpenCV is a Python library that allows you to perform image processing and computer vision tasks.2. IMPORT NUMPY
```bash
pip install numpy
```
Numpy is an Array used to perform a wide variety of mathematical operations on arrays. NumPy arrays are faster and more compact than Python lists3. IMPORT AUTOPY
```bash
pip install autopy
```
For controlling the mouse movement and click
AutoPy is a simple, cross-platform GUI automation toolkit for Python. It includes functions for controlling the keyboard and mouse4. IMPORT MEDIAPIPE
```bash
pip install mediapipe
```
For Hand Tracking
Mediapipe is a cross-platform library developed by Google that provides amazing ready-to-use ML solutions for computer vision tasks. OpenCV library in python is a computer vision library that is widely used for image analysis, image processing, detection, recognition
## Executing the ProgramRun the ```AiVirtualMouseProject.py``` python file.
## Author
-[@ruban-edward](https://github.com/Ruban-Edward)
## License
[MIT license](LICENSE.md)