cvtkit.visualization.video
Module including routines for creating videos.
video_from_images(image_files, video_file, frame_rate=15)
Creates a video from a set of images.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
image_files
|
List[str]
|
List of image files to be stitched into a video. |
required |
video_file
|
str
|
Output video file to be created. |
required |
frame_rate
|
int
|
Desired frame rate of the video. |
15
|
video_from_images2(image1_files, image2_files, video_file, frame_rate=15, orientation='horizontal')
Creates a video from two sets of images, stitching the images together each frame.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
image1_files
|
List[str]
|
List of first image files to be stitched. |
required |
image2_files
|
List[str]
|
List of second image files to be stitched. |
required |
video_file
|
str
|
Output video file to be created. |
required |
frame_rate
|
int
|
Desired frame rate of the video. |
15
|
orientation
|
str
|
Desired stitch orientation (horizontal or verticle). |
'horizontal'
|