网络摄像头访问在c ++ [英] webcam access in c++

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

问题描述

我要存取网路摄影机,因此我可以对图片进行一些预处理,例如追踪灯光,但我找不到存取网路摄影机的方法。我google了,但我很困惑。

I want to access the webcam so I can do some precessing on the images, like tracking a light, but I can't find a way to access the webcam. I googled it but I got confused.

你能指点我可以做一个图书馆(windows)吗?也许还可以提供一个例子?

Can you point me to a library that can do that (windows)? and maybe also provide an example?

我需要定期获取图像的像素图,大约每秒20次左右,如果可能的话。 p>

I would need to periodically get a pixel map of the image, about 20 time per second or so if it would be possible.

推荐答案

Checkout OpenCV 。它是一个跨平台的计算机视觉SDK,并具有从网络摄像头捕获图像的模块。也许你的功能太丰富,但值得一看。

Checkout OpenCV. It is a cross-platform computer vision SDK and has modules to capture images from the webcam. Maybe too feature rich for you, but it's worth a look.

这篇关于网络摄像头访问在c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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