Goal
- Learn to read video, display video, and save video.
- Learn to capture video from a camera and display it.
- You will learn these functions : cv.VideoCapture(), cv.VideoWriter()
Often, we have to capture live stream with a camera. OpenCV provides a very simple interface to do this. Let's capture a video from the camera (I am using the built-in webcam on my laptop), convert it into grayscale video and display it. Just a simple task to get started.
it consist of mouse event, print all mouse event , generate black image using numpy, get x y coordinate , get RGB color from image