如何在c + +熄灭的情况下连接网络摄像头 [英] How to connect webcam in c++ with the light off

查看:93
本文介绍了如何在c + +熄灭的情况下连接网络摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不亮的情况下使用c ++连接网络摄像头.

How to connect webcam in c++ with the light off.
Help me instruction!

推荐答案

如果有帮助,请查看以下内容:
使用MFC C/C ++的最简单的网络摄像头程序 [如何在c ++ Win32中连接网络摄像头 [
Have a look at these if they help:
simplest webcam program with MFC C/C++[^]
How to connect Webcam in c++ Win32[^]


我同意,这是一个硬件问题.

您是否尝试过用胶带覆盖光?
I agree, it''s a hardware problem.

Have you tried covering the light with electrical tape?


^ ]是您最好的选择

graphedt.exe [ ^ ]与DirectShow一起玩
DirectShow[^] is your best bet

There are a few examples of directshow projects available here on CodeProject[^] , but they''re C# based - that may or may not be helpful/an alternative

Create an IGraphBuilder by creating a CLSID_FilterGraph, then a ICaptureGraphBuilder2 from CLSID_CaptureGraphBuilder2, call its SetFiltergraph method, then use the RenderStream method

you can use the graphedt.exe[^] to play with DirectShow


这篇关于如何在c + +熄灭的情况下连接网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆