LabVIEW 是否有虚拟/虚拟 IMAQ 相机?
我正在编写 LabVIEW 软件,该软件可以从 IMAQ 兼容的 GigE 相机中抓取图像。
问题:这是一个协作项目,因此我只能间歇性地访问实际相机。即使相机不存在,我也希望能够继续开发该软件。
是否有一种简单/快速的方法可以在软件中创建虚拟或虚拟 IMAQ 相机?理想情况下,我希望虚拟相机从 AVI 或一堆 JPEG 中抓取帧。像这样的东西一定存在,我只是在谷歌上找不到它。
我正在寻找一些不会花费很长时间(例如< 2小时的工作)并且通过标准LabVIEW IMAQ接口抽象出来的东西,这样我的软件就不会知道或关心它是否处理虚拟相机或一台真正的相机。
I'm writing LabVIEW software that grabs images from an IMAQ compatible GigE camera.
The problem: This is a collaborative project, so I only have intermittent access to the actual camera.I'd like to be able to keep developing this software even when the camera isn't present.
Is there a simple/fast way to create a virtual or dummy IMAQ camera in software? Ideally I'd like the dummy camera grab frames from an AVI or a stack of JPEG's. Something like this must exist, I just can't find it on Google.
I'm looking for something that won't take very long (e.g.< 2 hours effort) and that is abstracted away through the standard LabVIEW IMAQ interface, so that my software won't know or care whether its dealing with a dummy camera or an actual camera.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您可以使用 LabVIEW 类尝试此方法:
使用 LabVIEW 类进行硬件仿真
You can try this method using LabVIEW classes:
Hardware Emulation Using LabVIEW Classes
如果您有 IMAQdx 驱动程序,您可能会考虑花 10 美元购买一个便宜的 USB 网络摄像头。
If you have the IMAQdx driver, you might consider just buying a cheap USB webcam for $10.
使用IMAQdx驱动程序(假设你有它),然后插入Vision Acquisition Express VI,你可以选择AVI甚至图片作为源。
Use the IMAQdx driver (assuming you have it), and then insert the Vision Acquisition Express VI, and you can choose AVIs or even pics as a source.
像这样的东西: GigESim 是一个相机模拟软件。不幸的是,它是专有的,并且对于我自己的需求而言太昂贵(> 500 美元),但也许其他人会发现此链接有用。
有人知道可行的开源替代方案吗?
Something like this: GigESim is a camera emulation software. Unfortunately it is proprietary and too expensive (>$500) for my own needs, but perhaps others will find this link useful.
Anyone know of a viable Open Source alternative?
有一个 IP 摄像头模拟器项目,它使用 python 模拟 IP 摄像头。我自己没用过,不知道IMAQ是否可以使用。
让我们知道这是否对您有好处。
There's an IP Camera emulator project that emulates IP camera with python. I haven't used it myself so i don't know if it can be used by IMAQ.
Let us know if it's good for you.
我知道这个问题确实很老,但希望这个答案可以帮助别人。
IMAQdx 还可以与 Windows DirectShow 设备配合使用。虽然通常这些是实际的物理捕获设备(例如 USB 网络摄像头),但它们并非必须如此。
网络上有一些不同的预制选项。我发现使用 Open Broadcaster Studio 和这个 虚拟摄像头插件 足够简单。基本上:
I know this question is really old, but hopefully this answer helps someone out.
IMAQdx also works with Windows DirectShow devices. While normally these are actual physical capture devices (think USB Webcams), there is no necessity that they have to be.
There are a few different pre-made options available on the web. I found using Open Broadcaster Studio and this Virtual Cam plugin to be easy enough. Basically: