我在 Windows 下使用 openCV 1.1pre1.我有一个网络摄像机,我需要从 openCV 抓取帧.该相机可以通过 RTSP 或通过 http 传输 mjpeg 的标准 mpeg4 流.我已经看到很多讨论在 openCV 中使用 ffmpeg 的话题,但我无法让它工作.
I'm using openCV 1.1pre1 under Windows. I have a network camera and I need to grab frames from openCV. That camera can stream a standard mpeg4 stream over RTSP or mjpeg over http. I've seen many threads talking about using ffmpeg with openCV but I cannot make it work.
如何使用 openCV 从 IP 摄像机中抓取帧?
How I can grab frames from an IP camera with openCV?
谢谢
安德里亚
rtsp 协议对我不起作用.mjpeg 工作第一次尝试.我假设它内置于我的相机 (Dlink DCS 900) 中.
rtsp protocol did not work for me. mjpeg worked first try. I assume it is built into my camera (Dlink DCS 900).
在这里找到的语法:http://answers.opencv.org/问题/133/how-do-i-access-an-ip-camera/
我不需要编译支持 ffmpg 的 OpenCV.
I did not need to compile OpenCV with ffmpg support.
这篇关于带有网络摄像机的 OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
Windows 中的 boost_1_60_0 .zip 安装boost_1_60_0 .zip installation in windows(Windows 中的 boost_1_60_0 .zip 安装)
如何使用 Windows 程序在 C++ 中获得控制台输出?How do I get console output in C++ with a Windows program?(如何使用 Windows 程序在 C++ 中获得控制台输出?)
如何计算给定日期的周数?How do I calculate the week number given a date?(如何计算给定日期的周数?)
创建 DLL 时导出所有符号Export all symbols when creating a DLL(创建 DLL 时导出所有符号)
Windows 7 上的 OpenCV 2.4 和 MinGW 入门Getting started with OpenCV 2.4 and MinGW on Windows 7(Windows 7 上的 OpenCV 2.4 和 MinGW 入门)
程序无法启动,因为缺少 libgcc_s_dw2-1.dllThe program can#39;t start because libgcc_s_dw2-1.dll is missing(程序无法启动,因为缺少 libgcc_s_dw2-1.dll)