Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# get file names of frames
col_frames = os.listdir('frames/')
col_frames.sort(key=lambda f: int(re.sub('\D', '', f)))
# load frames
for i in tqdm_notebook(col_frames):
img = cv2.imread('frames/'+i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.