Please watch: "OpenCV - Basic to Advanced concepts about Videos"
• OpenCV tutorial - Basic to Advanced concep... -~-
in this video you will learn to handle mouse events in OpenCV, and you will learn cv2.setMouseCallback() function. First we will learn to create a black image,which is called canvas, on that canvas we will paint like a brush using mouse. First we will draw a circle wherever we double click on canvas. Next we will draw a rectangle shape using mouse. to get the shapes using mouse we have to use mouse events like, cv2.EVENT_LBUTTONDBLCLK, cv2.EVENT_LBUTTONDOWN, cv2.EVENT_MOUSEMOVE, cv2.EVENT_LBUTTONUP.
We have to create a function i.e, draw_circle(event,x,y,flags,param) to draw the circle and rectangle.
this is a free tutorials from aiRobott youtube channel, from this you can learn opencv that is computer vision , and Python3 programming.
this is a free tutorials from aiRobott youtube channel, and i am Kishor Kumar Vajja.
On this page of the site you can watch the video online OpenCV tutorial : Paint Brush using Mouse with Python program with a duration of hours minute second in good quality, which was uploaded by the user aiRobott 17 July 2019, share the link with friends and acquaintances, this video has already been watched 768 times on youtube and it was liked by 4 viewers. Enjoy your viewing!