
上QQ阅读APP看书,第一时间看更新
Reading camera frames and video files
In some projects, you have to capture camera frames (for example, capture frames with the webcam of your laptop). In OpenCV, we have cv2.VideoCapture, which is a class for video capturing from different sources, such as image sequences, video files, and cameras. In this section, we are going to see some examples to introduce us to this class for capturing camera frames.