Should I save frames as video or a sequence of images?
Hi I am newbie to both OpenCV and Python. I previously tried using Matlab's built-in functions to interact with the 60fps camera and save the whole video, but it created a memory sink and froze the whole program. Now I am thinking to switch using OpenCV/Python, but just read posts suggesting that saving each frame as one image could create a memory issue. I am wondering what is better when using OpenCV and Python? Thanks a lot!
Picamera or usb webcam?
please check
cv2.getBuildInformation()
, if you installed your cv2 via some ppm, it might not have any facilities to save video files at all (FFMPEG or GSTREAMER support needed)and the tradeoff is not at all about memory, but about CPU load (compressing videos) vs. Disc io/space
@supra56 It is a USB camera (ELP 720p Full Hd H.264 USB Camera Module).
@berak.Thank you for suggestions. Will try to look into CPU and Disk i/o space. Thanks!