.net 3.5 windows 窗体应用程序,使用网络摄像头 [英] .net 3.5 windows form application, using webcam

查看:30
本文介绍了.net 3.5 windows 窗体应用程序,使用网络摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在搜索本地 c# hook to webcam 的高低之后,我找到了 5 种与相机交互的基本方法.

Having searched high and low for native c# hook to webcam, I found 5 basic ways to interact with the camera.

  1. Windows 视频 (VFW)
  2. DirectX
  3. avicap32.dll
  4. WIA
  5. 第三方工具

我的要求是拍照.该应用程序将在一些旧的 Windows XP 和 Vista 机器上使用,但未来将需要 Windows 7 及更高版本.那么,对于广泛的安装基础,最好的方法是什么?只是阅读 WIA 看起来像是要走的路,但看起来做了一些改变,所以现在它的工作方式有点不同(我不确定).我知道有些人已经完成了组合.

My requirement is to take a photo. The application will be used on some legacy windows XP and Vista machines, but going forward Windows 7 and greater will be required. So what might the best approach be with the broad install base? Just reading WIA looked like the way to go but looks like some changes were made so it works a little different now (I don't know for sure). I understand that some people have done combos.

可能需要裁剪照片,但仅此而已.

Might need to crop photo, but that is really about it.

用于学校访客监控.

推荐答案

我认为最好的方法是使用 WIA.我知道一个第三方工具包可以帮助您满足您的要求,即 Leadtools.您可以查看此教程

I think the best thing is to use the WIA. I know a third party toolkit that could help you doing your requirements which is leadtools. You can check this Tutorial

这篇关于.net 3.5 windows 窗体应用程序,使用网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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