本文介绍了openCV:如何将视频拆分为图像序列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
使用opencv,如何将视频分割成图像序列?
我如何拆分它以便输出将是一系列图像?
Using opencv, how can one split a video into an image sequence?
How can i split it so that the output will be a sequence of images?
推荐答案
令我惊讶的是,我在 StackoverFlow 上找不到这个问题的答案.
For my surprise, I couldn't find an answer to this question on StackoverFlow.
我目前使用的是 OpenCV 2.1.这可能有点旧,但它就像一个魅力.该程序将读取一个输入文件并在名为 *frame_xx.jpg* 的当前文件夹上创建一系列图像
I'm currently using OpenCV 2.1. This might be a little old but it works like a charm. The program will read an input file and create a sequence of images on the current folder named *frame_xx.jpg*
这篇关于openCV:如何将视频拆分为图像序列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!