projekt_widzenie/frames/post/b.py
Mikołaj Pokrywka 289e27165c added scripts
2023-01-31 17:51:02 +01:00

16 lines
270 B
Python

import cv2
import numpy as np
import glob
frameSize = (300, 300)
out = cv2.VideoWriter('2__output_video.avi',cv2.VideoWriter_fourcc(*'DIVX'), 30, frameSize)
for i in range(79):
img = cv2.imread(f"{i}.jpg")
print(f"{i}.jpg")
out.write(img)
out.release()