Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created May 11, 2020 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjoshi565/c51332d80fee701592d885c52be491a1 to your computer and use it in GitHub Desktop.
Save prateekjoshi565/c51332d80fee701592d885c52be491a1 to your computer and use it in GitHub Desktop.
frame_list = []
for i in tqdm_notebook(range(len(files))):
filename=pathIn + files[i]
#reading each files
img = cv2.imread(filename)
height, width, layers = img.shape
size = (width,height)
#inserting the frames into an image array
frame_list.append(img)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment