OpenCV与网络摄像机 [英] OpenCV with Network Cameras

查看:707
本文介绍了OpenCV与网络摄像机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows下使用openCV 1.1pre1。
我有一个网络摄像头,我需要从openCV抓帧。该摄像机可以通过RTSP或mjpeg通过http流式传输标准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从网络摄像机抓取帧?

How I can grab frames from an IP camera with openCV?

感谢

Andrea

推荐答案

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/question/133/how-do-i-access-an -ip-camera /

我不需要用ffmpg来编译OpenCV。

I did not need to compile OpenCV with ffmpg support.

这篇关于OpenCV与网络摄像机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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