Skip to content

Commit f12effa

Browse files
committed
minor changes
1 parent 1119122 commit f12effa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/mount_video.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Function to create video from images in a folder
55
def images_to_video(image_folder, output_video_path, frame_duration=0.5):
66
images = [img for img in os.listdir(image_folder) if img.endswith(".png")]
7+
#images.sort(key=lambda x: int(x.split('_')[0]))
78
frame = cv2.imread(os.path.join(image_folder, images[0]))
89

910
# Get image dimensions

0 commit comments

Comments
 (0)