Skip to content

A real-time gesture-based drawing tool using OpenCV and Mediapipe. Supports freehand drawing, erasing, and shape recognition (circle, rectangle, line) with a virtual color palette and keyboard shortcuts.

Notifications You must be signed in to change notification settings

1810suman/AI_Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ¨πŸ–οΈ AI_Canvas

This project is an AI-powered real-time hand gesture-based drawing application built using OpenCV and Mediapipe. It allows users to draw, erase, and create shapes on a virtual canvas using just their hand movements, making it an interactive and touchless drawing tool. The application detects hand landmarks using Mediapipe, tracks fingertip positions, and enables dynamic drawing on a digital canvas.

βœ… Key Features:

  • Freehand Drawing – Draw smoothly by moving your index finger.
  • Shape Drawing Mode – Create circles, rectangles, and lines using hand gestures.
  • Eraser Tool – Remove mistakes with a larger eraser size.
  • Color Selection – A virtual color palette at the top of the screen allows seamless color switching.
  • Real-time Hand Tracking – Uses Mediapipe Hands for accurate fingertip detection.
  • Smooth and Responsive Drawing – Combines OpenCV image processing with hand tracking for an optimal experience.
  • Keyboard Shortcuts – Easily switch between freehand drawing and shape modes (C - Circle, R - Rectangle, L - Line, D - Draw Mode).

πŸ›  Technologies Used:

  • Python
  • OpenCV
  • Mediapipe
  • NumPy

Ideal for interactive art, educational tools, creative applications, and AI-based gesture recognition projects. πŸš€

About

A real-time gesture-based drawing tool using OpenCV and Mediapipe. Supports freehand drawing, erasing, and shape recognition (circle, rectangle, line) with a virtual color palette and keyboard shortcuts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages