在OpenCV中的视频文件 [英] Video files in opencv

查看:238
本文介绍了在OpenCV中的视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想读的视频文件(.AVI或.mov),并使用Opencv.Can检测运动,并且边缘ü帮助我的code吗?我想创建一个图形用户界面中,我们可以选择视频文件,然后我们可以进行图像处理功能的OpenCV?

I want to read video file(.avi or .mov) and detect motion and edges using Opencv.Can u help me with code?I want to create a GUI in which we can select the video file,then we can carry out image processing functions in opencv?

推荐答案

如何读取视频文件

  • Read video file and display it on a window (C API)
  • Read video file and display it on a window (C++ API)
  • Read video file, convert it to grayscale then display it on a window (C API)

如何跟踪/检测运动

  • Opencv Motion detection with tracking
  • How to do motion tracking of an object using video?
  • The OpenCV Video Surveillance / Blob Tracker Facility

如何检测边缘/ countours

和关于如何检测的形状,检查这个帖子更多信息。

And for more info on how to detect shapes, check this post.

这篇关于在OpenCV中的视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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