Menu

pycaravel: This module is designed to simplify continuous integration (CI) of data from multiple projects.

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.

class caravel.loaders._mp4.MP4[source]

Define the mp4 loader.

load(path)[source]

A method that load the mp4 data.

Parameters:

path : str

the path to the mp4 file to be loaded.

Returns:

data : imageio numpy array

the loaded image.

save(data, outpath, fps=24)[source]

A method that save the image in mp4.

Parameters:

data : list of path

list of path for each image for the video.

outpath : str

the path where the the mp4 image will be saved.

Follow us

© 2025, Antoine Grigis