简体   繁体   English

如何在C ++中获得USB相机镜框

[英]How to get Usb camera frames in c++

我有一台USB相机,现在我必须查找相机是否已连接到我的计算机(Windows)中。如果已连接,则必须发送帧,如何在不使用opencv的c ++中进行操作。...

I'm not familiar with the Windows API for performing IO on cameras, but I think that you might find Capturing Video from Web-camera on Windows 7 and 8 by using Media Foundation interesting. 我不熟悉用于在相机上执行IO的Windows API,但是我认为您可能会发现通过使用Media Foundation在Windows 7和8上从网络相机捕获视频很有趣。 The author used to depend on videoInput but then resorted to implementing his own lib. 作者以前依靠videoInput,但后来求助于实现自己的lib。

You can also find a detailed (but old) tutorial here . 您还可以在此处找到详细(但较旧)的教程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM