现在我正在使用霍尼韦尔 IP 摄像头进行图像处理应用程序。但不幸的是,我无法在 c# 编程中使用 opencvsharp 打开它。
所以,我想分享我的部分代码,我正在使用以太网电缆直接连接它(从我的笔记本电脑到 Ip 摄像头的电缆)。我为我的笔记本电脑定义了静态 ip,我可以使用默认 ip 配置连接它通过 internet explorer。但我无法使用 c# 编程连接和打开这台相机。
我尝试了所有相关链接以使其如下工作。任何帮助将不胜感激。
string v2 = @"http://192.168.0.101:5060/h264";
CvCapture camera = new CvCapture(v2)
string v2 = @"http://admin:admin@192.168.0.101:564/h264";
string v2 = @"rtsp://admin:admin@192.168.0.101:564/h264";
string v2 = @"http://192.168.0.101:564/img/video.mjpeg";
string v2 = @"http://admin:admin@192.168.0.101:564/img/video.mjpeg";
string v2 = @"http://192.168.0.101:564/img/video.mjpeg";
string v2 = @"http://192.168.0.101:564/img/video.asf";
string v2 = @"http://192.168.0.101:564/img/video.mjpeg";
所有这些方法都是根据下面的相关链接定义的(我几乎尝试了所有但我无法成功 http://www.camera-sdk.com/p_183-how-to-connect-to-your-honeywell-ip-camera- onvif.html``