Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Readme file #6

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 150 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,115 @@
## AI Virtual Mouse
<div id="top"></div>

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


<!-- PROJECT LOGO -->
<br />
<div align="center">
<a href="https://github.com/acm-iem/VirtualMouse">
<img src="https://www.clipartmax.com/png/middle/76-760532_virtual-business-services-computer-mouse-flat-icon.png" width="20%" alt="Logo">
</a>

<h3 align="center">Virtual Mouse</h3>

<p align="center">
Why need a physical mouse, when you have you Hands !
<br />
<a href="https://github.com/acm-iem/VirtualMouse"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="https://github.com/acm-iem/VirtualMouse">View Demo</a>
·
<a href="https://github.com/acm-iem/VirtualMouse/issues">Report Bug</a>
·
<a href="https://github.com/acm-iem/virtualMouse/issues">Request Feature</a>
</p>
</div>



<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about">About The Project</a>
<ul>
<li><a href="#built">Built With</a></li>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#installing-dependencies">Installing Dependencies</a></li>
</ul>
</li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributions">Contributing</a></li>
<li><a href="#license">License</a></li>
</ol>
</details>

<!-- ABOUT THE PROJECT -->
<div id="about"></div>

# AI Virtual Mouse

<strong>No Physical Mouse, just your hands and you are good to go for browsing and scrolling ,easily and smoothly. <strong><br>
#### **Yes, you heard it right!**<br>
>Our team 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.

This repository contains all of the code required **NOTE** you may need to download other dependencies which will be mentioned below.
## Features
#### ***This virtual mouse comes with features like :*** <br>
* You can move the cursor using just index finger(by pointing it towards the camera and moving it accordingly).
<div align="centre">
<a href="https://github.com/acm-iem/VirtualMouse">
<img src="images/virtualmouse1.png" alt="preview" width="720">
</a>
<br>
<br>
<br>
</div>

* You can select any file or folder using your middle and index finger together(As the distance between two fingers comes in short range,the cursor selects that particular thing).
<div align="centre">
<a href="https://github.com/acm-iem/VirtualMouse">
<img src="/images/Virtuak%20mouse2.png" alt="preview" width="720">
</a>
<br>
<br>
<br>
</div>

Make sure you have [**Python**](https://python.org) installed on your computer before continuing.

<p align="right">(<a href="#top">back to top</a>)</p>


<div id="built"></div>

### Built With

[Python](https://python.org)


<p align="right">(<a href="#top">back to top</a>)</p>
<div id="prerequisites"></div>

### Prerequisites

* Python (Preferablyy version 3.8 or 3.7)
* A Web-camera


<p align="right">(<a href="#top">back to top</a>)</p>
<div id="installing-dependencies"></div>

## Dependencies -
> Please install all the required dependencies.
> Please install all the required dependencies/modules.
* openCV - (For image processing and drawing)
* mediapipe - (For Hand Tracking)
* autopy - (For controlling the mouse movement and click)
* numpy

* numpy<br>
#### **NOTE** :-
* Autopy module is not supported in python versions 3.9 or above(you may face error in installing).<br>
So try to install these modules in python version 3.8 or 3.7(more stable).
## Installation

To setup the system for development on your local machine, please follow the instructions below:
Expand All @@ -20,5 +121,49 @@ To setup the system for development on your local machine, please follow the ins
```

2. Run the ```AIVirtualMouse.py``` python file.



<p align="right">(<a href="#top">back to top</a>)</p>
<div id="roadmap"></div>

<!-- ROADMAP -->
## Roadmap

- [ ] Add more smoothness in performing operations
- [ ] Making this project to work on global level

See the [open issues](https://github.com/acm-iem/VirtualMouse/issues) for a full list of proposed features (and known issues).
<br> To propose a new feature open an [issue](https://github.com/acm-iem/VirtualMouse/issues) in issues section.

<p align="right">(<a href="#top">back to top</a>)</p>


<div id="contributions"></div>

<!-- CONTRIBUTING -->
## Contributions

### **For contributing to this project, kindly read rules mentioned in [Contributing.md](Contributing.md) file.**<br>
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<p align="right">(<a href="#top">back to top</a>)</p>


<div id="license"></div>

<!-- LICENSE -->
## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#top">back to top</a>)</p>
Binary file added __pycache__/HandTrackingModule.cpython-38.pyc
Binary file not shown.
Binary file added __pycache__/HandTrackingModule.cpython-39.pyc
Binary file not shown.
Binary file added images/Virtuak mouse2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/virtualmouse1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.