Skip to content
Advertisement

Sampling from video frames and save them as an image – python openCV

I have a video file, I know how to save all of the frames,but my question is how to save only one frame of every 20 frames as an image? Thanks.

Advertisement

Answer

This is based on this tutorial: https://theailearner.com/2018/10/15/extracting-and-saving-video-frames-using-opencv-python/

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement