# get file names of frames | |
col_frames = os.listdir('frames/') | |
col_frames.sort(key=lambda f: int(re.sub('\D', '', f))) | |
# load frames | |
col_images=[] | |
for i in tqdm_notebook(col_frames): | |
img = cv2.imread('frames/'+i) | |
col_images.append(img) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment