最有效的方式来捕获和发送网络摄像头的图像 [英] Most efficient way to capture and send images from a webcam in a network

查看:160
本文介绍了最有效的方式来捕获和发送网络摄像头的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个简单的视频电话(用于学习),我想知道我必须使用什么API来捕获和发送网络摄像头的图像。

I am writing a simple videophone ( for study ) and I would to know what APIs I have to use to capture and send images from a webcam in a network.

Ps我不会使用复杂的库像OpenCV。

P.s. I wouldn't use complex library like OpenCV.

推荐答案

您可以使用 Windows映像获取(WIA)或/和 DirectShow 。另一个好的选择是 Microsoft Media Foundation (有关捕获视频的章节)。

You can use Windows Image Acquisition (WIA) or/and DirectShow. Another good alternative is Microsoft Media Foundation(chapter on capturing video).

请注意,这是麻烦的apis,这使得这不是一个容易的任务,你可能最终会更好地使用OpenCV。

Mind you that this are cumbersome apis which make this no easy task and you might end up better by using OpenCV.

至于网络部分,这取决于您的设计和偏好。

As for the network part, that's up to your design and preference.

这篇关于最有效的方式来捕获和发送网络摄像头的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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