如何通过USB连接多个红外摄像机和C#

问题描述 投票:0回答:1

在上下文中:目前我有一个用C#设计的代码示例,用于连接单个摄像机Optris。代码在Windows窗体中用于一个摄像头,我尝试修改代码以适用于两个摄像头,但系统始终连接最后一个摄像头配置。

then the view of the modified example for two cameras where it shows the same image corresponding to the second camera.

做了修改

第二个图片框中显示的图像是使用所有变量和方法从示例代码中复制的,另外,代码示例的所有重复变量都只是添加了第二个。

此外,添加了原始代码和修改代码:enter link description here

谢谢你的帮助

c# camera camera-calibration
1个回答
0
投票

查看文档(http://documentation.evocortex.com/libirimager2/html/classevo_1_1IRImager.html)并观察代码,似乎.dll使用单例模式。

我试图克隆dll并进行两次调用,然后工作!

Working with 2 cameras

您有两种选择:

  1. 克隆您需要连接的每台摄像机的dll。
  2. 尝试找到“问题”或与sdk程序员联系。

问候!

© www.soinside.com 2019 - 2024. All rights reserved.