module helpers.video_helper
#
Short summary#
module ensae_teaching_cs.helpers.video_helper
video helpers
Functions#
function |
truncated documentation |
---|---|
Creates a video from a list of images. |
Documentation#
video helpers
- ensae_teaching_cs.helpers.video_helper.make_video(images, outvid=None, fps=5, size=None, is_color=True, format='XVID')#
Creates a video from a list of images.
- Paramètres:
outvid – output video
images – list of images to use in the video
fps – frames per second
size – size of each frame
is_color – color
format – see fourcc
- Renvoie:
The function relies on opencv. By default, the video will have the size of the first image. It will resize every image to this size before adding them to the video. The function does not use moviepy but it is a a recommended module to do that.