gpt4 book ai didi

emgucv - 如何使用 emgucv 从 ip 摄像机获取视频

转载 作者:行者123 更新时间:2023-12-04 05:50:15 35 4
gpt4 key购买 nike

摘要:

我正在尝试从 emgu 中的 IP 摄像头获取视频,我可以在浏览器中显示来自“http://169.254.255.253”等 IP 的视频。

问题:

我如何从 emgu 显示这个?

最佳答案

如果您使用 Emgu 3.1,请尝试以下操作:

Capture cameraCapture
cameraCapture = new Capture("http://user:passwd@http://169.254.255.253");
Mat frame = cameraCapture.QueryFrame();
imageBox1.Image = frame;

这是捕获类引用:

http://www.emgu.com/wiki/files/3.1.0/document/html/5edc4ff8-cec3-c5ee-8e62-629cf4c7940a.htm

希望有帮助。

关于emgucv - 如何使用 emgucv 从 ip 摄像机获取视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10144527/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com