Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 840 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 840 Bytes

virtualpaint

The code focusses on allowing the users to paint according to their handmotion and the color of the tip of the marker or highlighter that they are holding. Currently, just three colors are added into the color dictionary: Green, Purple and Orange.

The my_colors dictionary represents the hue_min,saturation_min,value_min, hue_max, saturation_max and value_max values for the colors mentioned The color_values dictionary represents the rgb value for the colors in the keys

The find_contours function finds the contour of the image and returns the outer bounding rectangle The find_color function helps to detect the color of the pen tip and helps to draw on the canvas using the drawOnCanvas function

virtual paint