Instead of reading from a location on a disk, I need reader = cv2.VideoCapture()
to read from a video in a form of either a ByteIO stream or an array of images with fps given. Or is there any way to make reader.isOpened() to loop through the frames from an array of images I have. I cannot write anything to disk
Asked
Active
Viewed 335 times
0

Travis Tay
- 350
- 2
- 10
-
(The linked question is about the writer, but the answer covers VideoCapture as well) – GPhilo Jun 23 '20 at 11:20
-
hmmm what about feeding in frames? – Travis Tay Jun 23 '20 at 11:53
-
1Why do you need a VideoCapture (which, essentially, decodes a video into image frames) when you already have the video frames? – GPhilo Jun 23 '20 at 11:54