diplomat.utils.video_io.ContextVideoCapture¶
- diplomat.utils.video_io.ContextVideoCapture¶
An implementation of cv2.VideoCapture that supports opening the file with the python ‘with’ statement.
Methods
__init__(*args[, throw_on_unopened])Create a new {clazz}.
read()Read a frame from the video file.
write(frame)Write a frame from the video file.