All projects
Computer Vision2023Computer Vision

Air Canvas — AI Virtual Painter

Air-drawing interface built on skin segmentation, contour analysis, fingertip localization, and state tracking for draw, color-select, and erase tools.

Pipeline

Webcam feed
Skin segmentation
Contour analysis
Fingertip localize
Virtual canvas

Architecture

End-to-end flow, stage by stage.

  1. 01

    Webcam feed

  2. 02

    Skin segmentation

  3. 03

    Contour analysis

  4. 04

    Fingertip localize

  5. 05

    Virtual canvas

How it works

01

Processed live webcam frames with OpenCV, using skin segmentation and contour analysis to isolate the user's hand from the background.

02

Localized the fingertip and classified gesture state frame by frame to distinguish drawing from tool-selection actions.

03

Mapped those gestures to a virtual canvas with drawing, color selection, and erasing in real time.

3
Gesture-driven tools
Real-time
Fingertip tracking

Stack

OpenCVContour AnalysisPython