Virtual Drawing using Python and OpenCV | Computer Vision

Veröffentlicht am: 09 Juni 2021
auf dem Kanal: KostasT
688
13

A virtual drawing project with color tracking, using Python and OpenCV library.


1.The desired color is being selected for tracking by defining the lower and upper color as numpy arrays in the code. Here blue color is being selected.
2. The maximum contour area (of the chosen color) is being calculated.
3. Calculation of the center of maximum contour.
4. Color is being tracked and when the center of max contour is inside a rectangle then the corresponding color, is being selected and used for drawing in both Frame and black Canvas.
5. When center of max contour is inside the region containing word «SAVE» (or by pressing «s/S») the current drawing on black Canvas is being saved in local file.


Auf dieser Seite können Sie das Online-Video Virtual Drawing using Python and OpenCV | Computer Vision mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer KostasT 09 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 688 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!