def __init__(self, video_path: str, fps: float=10.0) -> None:
    '\n        Arguments:\n            video_path: The path to output the video.\n            fps: If higher than the writing rate, the video will be fast-forwarded.\n        '
    fourcc: int = cv2.VideoWriter_fourcc(*'mp4v')
    self._video_writer = cv2.VideoWriter((video_path + '.mp4'), fourcc, fps, (640, 480))
Arguments:
    video_path: The path to output the video.
    fps: If higher than the writing rate, the video will be fast-forwarded.
def __init__(self, video_path: str, fps: float=10.0) -> None:
    '\n        Arguments:\n            video_path: The path to output the video.\n            fps: If higher than the writing rate, the video will be fast-forwarded.\n        '
    fourcc: int = cv2.VideoWriter_fourcc(*'mp4v')
    self._video_writer = cv2.VideoWriter((video_path + '.mp4'), fourcc, fps, (640, 480))