File size: 246 Bytes
15bc41b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import cv2
import os

files = os.listdir("outputs")
n_files = len(files)    

for i in range(1, n_files):
    frame = cv2.imread(f"outputs/stack_{i}.png")
    cv2.imshow("Frame", frame)
    c = cv2.waitKey(1)

    if c == ord('q'):
        break