python
def read_gif(filename): gif = cv2.VideoCapture('sample.gif') _, img = gif.read() return img
It seems that read one frame at a time
Recommended Posts