Skip to content

Latest commit

 

History

History
 
 

AirCanvas

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Real-Time Color Drawing App

This is a simple real-time color drawing application using OpenCV and Python. With this application, you can draw in various colors using your webcam. It detects the color of an object and allows you to draw with that color on the canvas.

Features

  • Choose from different colors (blue, green, red, and yellow) for drawing.
  • Clear the canvas with the "CLEAR" button.
  • Real-time color detection and drawing on the webcam feed.
  • Adjustable HSV (Hue, Saturation, Value) ranges for color detection.

Requirements

  • Python 3
  • OpenCV (cv2) library
  • NumPy
  • Webcam

Usage

  • Clone or download this repository to your local machine.

  • Make sure you have Python and the required libraries installed.

  • Run the Python script using the following command:

python color_drawing_app.py

A window will open showing your webcam feed and the color drawing options. You can use the "CLEAR" button to clear the canvas or select different colors for drawing.

  • Adjust the HSV (Hue, Saturation, Value) trackbars to change the color detection parameters.

  • To exit the application, press the "q" key.