Air Canvas is an interactive computer vision project that allows users to draw in the air using just their fingers. This project uses a webcam to capture the user's hand movements and track their position in real-time. The user can then draw on the screen by moving their finger in the air, and the drawing will appear on the screen.
To use this project, you will need to have Python 3.x installed on your local machine. You can download and install the latest version of Python from the official Python website.
Once you have Python installed, you can clone this repository using Git or download the ZIP file and extract it to your local machine.
Next, navigate to the project directory and install the required libraries and dependencies by running the following command in your terminal:
pip install -r requirements.txt
To use the Air Canvas project, run the following command in your terminal:
python main.py
This will launch the project and open a new window showing the webcam output. To draw on the screen, move your finger in the air in front of the webcam. The drawing will appear on the screen as you move your finger.
To exit the project, simply press the 'q' key on your keyboard.
This repository contains the following files and directories:
File | Description |
---|---|
'main.py' | the main Python script that runs the project |
'trackingModule.py' | this module tracks hand movement and their landmarks |
'README.md' | this file contains instructions for installing and using the project |
'requirements.txt' | a file that lists the required libraries and dependencies for running the project |
'Images/' | a directory that contains sample images used in the project |
'Audio/' | a directory that contains sample sound Efects used in the project |
Contributions are always welcome!