Skip to content

Repository files navigation

✨ Air Drawing

Draw in Mid-Air Using Nothing but Your Hands

No mouse. No stylus. Just your hand.


About

Air Drawing transforms your hand into a virtual pen using Computer Vision and AI-powered gesture recognition. Instead of relying on a physical drawing device, the application tracks your hand in real time, allowing you to sketch, erase, adjust brush thickness, and clear the canvas using intuitive gestures captured through a standard webcam.

Designed as a lightweight yet interactive demonstration of gesture-based human-computer interaction, the project showcases how natural hand movements can become a powerful input method for digital creativity.


Experience

📷 Webcam
      │
      ▼
✋ Hand Detection
      │
      ▼
🧠 Gesture Recognition
      │
      ▼
✏️ Drawing Commands
      │
      ▼
🎨 Live Canvas

Demo

Replace this GIF with a recording of your own application to showcase the drawing experience.


Features

✍️ Drawing

  • Draw using finger gestures
  • Smooth freehand strokes
  • Real-time rendering
  • Natural interaction

🎨 Canvas

  • Adjustable brush thickness
  • Eraser mode
  • Clear entire canvas
  • Responsive drawing

👋 Gesture Controls

  • Finger tracking
  • Gesture recognition
  • Mode switching
  • Touchless interaction

⚡ Performance

  • Lightweight application
  • Real-time processing
  • Fast webcam response
  • Beginner-friendly codebase

Technology Stack

Component Technology
Programming Language Python
Computer Vision OpenCV
Hand Tracking MediaPipe
Numerical Computing NumPy

Gesture Workflow

Open Webcam

      │

      ▼

Detect Hand

      │

      ▼

Recognize Gesture

      │

      ▼

Choose Tool

      │

      ▼

Draw • Erase • Change Thickness • Clear Canvas

Project Structure

AirDrawing

├── assets/
├── utils/
├── main.py
├── requirements.txt
└── README.md

Installation

Clone the repository

git clone <repository-url>

Move into the project

cd AirDrawing

Install dependencies

pip install -r requirements.txt

Run the application

python main.py

Why Air Drawing?

  • No mouse required
  • No graphics tablet required
  • Draw using only your hand
  • Real-time gesture recognition
  • Interactive digital canvas
  • Clean and lightweight implementation
  • Great project for learning Computer Vision

Future Improvements

  • Multiple brush colors
  • Shape recognition
  • Save artwork
  • Undo and redo
  • Gesture customization
  • Multi-hand support
  • AI sketch enhancement
  • Mobile version

Project Attribution

This implementation was created by Mohammad Fazil Firojkhan Malek.

Author attribution is included within the project documentation and backend source code while preserving the original application behavior, interface, and gesture interaction.


Creativity begins with a single gesture.

If you enjoyed this project, consider giving the repository a ⭐.

About

Real time hand gesture based drawing application built with Python, OpenCV, and MediaPipe. Draw in the air, change colors, adjust brush size, and erase sketches using hand movements tracked through a webcam.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages