Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 lists

3. 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 mouse

4. 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 Program

Run the ```AiVirtualMouseProject.py``` python file.

## Author

-[@ruban-edward](https://github.com/Ruban-Edward)

## License

[MIT license](LICENSE.md)