如何通过usb用C#连接多个红外摄像机

How to connect multiple IR Cameras with C# via usb

上下文中: 目前我有一个用 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

感谢您的帮助

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

我尝试克隆 dll 并进行两次调用,成功了!

Working with 2 cameras

您有两个选择:

  1. 为您需要连接的每个相机克隆 dll。
  2. 尝试寻找"problem"或联系sdk程序员

此致!