如何读取OpenCV的为Android的AVI文件 [英] How to read an AVI file in OpenCV for Android

查看:108
本文介绍了如何读取OpenCV的为Android的AVI文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要阅读Android中的AVI文件,并处理它的框架。我知道它的C ++出路,但并不是Android的一个!有人能帮助我,给一个起点。我使用的OpenCV 2.4.5。

I need to read an AVI file in Android and process its frames. I know its C++ way but not the android one! Can someone help me and give a start point. I'm using opencv 2.4.5.

推荐答案

您可以尝试编译FFMPEG OpenCV的为Android。

You can try to compile OpenCV with FFMPEG for Android.

视频IO不正式支持,但如果我没有记错这个补丁的工作:的http:// code.opencv.org /问题/ 2546 至少你可以使用它作为一个很好的起点。

Video IO is not officially supported but if I remember correctly this patch worked: http://code.opencv.org/issues/2546 At least you can use it as a good starting point.

这篇关于如何读取OpenCV的为Android的AVI文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆