We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1119122 commit f12effaCopy full SHA for f12effa
scripts/mount_video.py
@@ -4,6 +4,7 @@
4
# Function to create video from images in a folder
5
def images_to_video(image_folder, output_video_path, frame_duration=0.5):
6
images = [img for img in os.listdir(image_folder) if img.endswith(".png")]
7
+ #images.sort(key=lambda x: int(x.split('_')[0]))
8
frame = cv2.imread(os.path.join(image_folder, images[0]))
9
10
# Get image dimensions
0 commit comments