diplomat.utils.video_ioΒΆ

Contains utilities for reading and writing video files using OpenCV.

Module Attributes

ContextVideoWriter

An implementation of cv2.VideoWriter that supports opening the file with the python 'with' statement.

ContextVideoCapture

An implementation of cv2.VideoCapture that supports opening the file with the python 'with' statement.

Classes

ContextVideoCapture

An implementation of cv2.VideoCapture that supports opening the file with the python 'with' statement.

ContextVideoWriter

An implementation of cv2.VideoWriter that supports opening the file with the python 'with' statement.