An open API service indexing awesome lists of open source software.

https://github.com/1810suman/ai_canvas

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.
https://github.com/1810suman/ai_canvas

ai-canvas handgesture-recognition mediapipe opencv python

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

🎨🖐️ 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. 🚀