[英]C# application on a NUC computer (Windows 10) for data collection over long period of time
I'm working on a project that involves grabbing frames from several cameras, all connected by USB to an Intel NUC computer running Windows 10.我正在开展一个项目,该项目涉及从多个摄像头抓取帧,所有摄像头均通过 USB 连接到运行 Windows 10 的英特尔 NUC 计算机。
I want to write C# application(s?) for that end.我想为此编写 C# 应用程序。 The scenario is as followed:场景如下:
I thought about the following options:我考虑了以下选项:
Since the duty cycle of this data collection is very small (setting up the devices and grabbing images sequentially takes less than a minute, compared to about an hour interval), and since it's not healthy for some of the devices to remain active to long periods, I want to close and reopen the devices' context upon demand.由于此数据收集的占空比非常小(与大约一个小时的间隔相比,设置设备并按顺序抓取图像只需不到一分钟的时间),并且由于某些设备长时间保持活动状态是不健康的,我想根据需要关闭并重新打开设备的上下文。
What option do you suggest to take, for a robust SW?对于强大的软件,您建议采取什么选择? I'll be happy to consider other options as well :)我也很乐意考虑其他选择:)
Your help is highly appreciated!非常感谢您的帮助!
Three years after, and the solution of @Damien_The_Unbeliever proved itself as a great one!三年后,@Damien_The_Unbeliever 的解决方案证明了自己是一个伟大的解决方案! I avoided memory leaks and other drifting sicknesses and was able to run the data acquisition for durations of months.我避免了内存泄漏和其他晕厥,并且能够运行数月的数据采集。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.