src.utils package#

Submodules#

src.utils.utils module#

src.utils.utils.create_video_from_frames(frames_path, video_path, frame_rate=10, width=640, height=480, libx264=True)[source]#

Create a video from a folder of frames.

Parameters: frames_path (str): The path to the folder containing the frames. video_path (str): The path to save the video. frame_rate (int): The frame rate of the video. width (int): The width of the video. height (int): The height of the video. libx264 (bool): Whether to use the libx264 codec to compress the video.

Module contents#