You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import cv2
def load_video(video_path):
# 'video' should be either a list of images from type of numpy array or PIL images
cap = cv2.VideoCapture(video_path)
ret, frame = cap.read()
frame_list=[]
while ret == True:
ret, frame = cap.read()
frame_list.append(frame)
Hello
Can you please guide me that why this code is not running for .mp4 format?
Thank you
The text was updated successfully, but these errors were encountered: