Air Pen is an interactive virtual drawing application that allows users to draw in the air using hand gestures captured by a webcam. It utilizes computer vision techniques to track hand movements and enables users to create drawings in real-time.
- Virtual Drawing: Draw in the air using hand gestures without the need for physical tools.
- Selection Mode: Select different drawing colors by gesturing with two fingers.
- Color Palette: Choose from a variety of colors for drawing using predefined hand gestures.
- Eraser: Erase drawings with an eraser tool by using a specific hand gesture.
- Header Images: Customize the header image by selecting from a set of predefined options.
- Clone this repository:
git clone https://github.com/username/Air-Pen.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the application:
python airpen.py
- Hold your hand in front of the webcam to initiate hand tracking.
- Use one finger to draw in the air. The drawing color can be changed by using specific gestures with two fingers.
- Use the eraser tool by performing a predefined hand gesture.
- Select different header images by performing gestures in the designated regions of the screen.
- Drawing: Use one finger to draw in the air.
- Color Selection: Perform specific gestures with two fingers to change the drawing color.
- Eraser: Use a predefined hand gesture to activate the eraser tool.
- Header Selection: Perform gestures in the designated regions of the screen to select different header images.
- Python 3
- OpenCV
- NumPy
Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.