开发者

API to use deault Web Cam?

开发者 https://www.devze.com 2022-12-18 07:18 出处:网络
I\'m wor开发者_如何学Pythonking on a Win32 application in C++ and would like to add the ability to output the default web cam onto the screen. I was wondering if there was a Win32 API for this, or a w

I'm wor开发者_如何学Pythonking on a Win32 application in C++ and would like to add the ability to output the default web cam onto the screen. I was wondering if there was a Win32 API for this, or a way to do this without coding the whole thing.

Thanks


Yes, it is really simple with capCreateCaptureWindow. That googles really well, you'll have no trouble finding code samples.


I'd recommend DirectShow. capXXX API is really old and obsolete. OpenCV is based on Win32 API.


Using OpenCV you can access webcam.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号