Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有几个相机连接到我的电脑。在我的应用程序中,我需要选择其中之一。但我找不到如何做到这一点。有没有列出所有连接的相机的功能?
CvCapture* capture; capture = cvCaptureFromCAM( 0 );
cvCaptureFromCAM 将允许您选择不同的相机 - 从 0 开始。然后只需记下哪个相机对应哪个编号。