Camera/video read_write
➢VideoCapture class:
OpenCV2.x and above versions add the VideoCapture class, which provides a C++ interface for capturing video from cameras or video files.
The VideoCapture class has three constructor methods:
Python: cv2.VideoCapture()<VideoCapture object>
Python: cv2.VideoCapture (filename) -> <VideoCapture object>
Python: cv2.