如何用 C# 设置 Logitech Webcam Pro 9000 的增益?
我正在开发一个应用程序,它使用 Logitech Webcam Pro 9000(而不是其他)来捕获和过滤流。我使用过 AForge.net 并快速上手。我已经设法获取网络摄像头流并对每个单独的图像应用过滤器。
但是我想在特定环境中使用网络摄像头。为了帮助用户,我想在应用程序中创建控件,允许用户更改网络摄像头的增益和曝光时间(我知道最后一个似乎比第一个更棘手)。
我一直在研究 DirectShow.Net,但我还不太明白。这是一个可行的解决方案吗?如果是,有很好的例子/教程吗?
最终目标(无论图书馆): 如何进行控制来更改 Logitech Webcam Pro 9000 上的增益(和曝光)并关闭任何自动调整?
I'm developing an application that uses a Logitech Webcam Pro 9000 (and no other) to capture and filter a stream. I've used AForge.net and gotten a quick start. I've already managed to get the webcam stream and apply a filter to each individual image.
However I want to use the webcam in specific environments. To help the user, I want to create controls in the application that allow the user to change the webcam's gain and exposure time (I know the last one appears to be more tricky than the first).
I've been looking into DirectShow.Net, but I don't grasp that quite yet. Is this a feasable solution? If yes, are there good examples/tutorials?
The final goal (regardless of libraries):
How can I make a control that changes the gain (and exposure) on the Logitech Webcam Pro 9000 and turn of any automatic adjustments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 DiredtShow.Net 设置曝光效果很好,但有一个问题!
仅在开始捕获图表后,您才需要设置曝光。由于某种原因,它不能以其他方式工作。
Setting exposure works fine with DiredtShow.Net, but there is one catch!
You will have to set the exposure only AFTER you started the capturing graph. For some reason, it doesn't work other way.