WPF应用程序中的网络摄像头 [英] webcam in wpf application

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

问题描述

我还需要在wpf应用程序中集成网络摄像头以拍照,我查看了.net平台上可用的各种库,例如wpfmediakit,webcamcapture等,但似乎都无法与我的项目很好地兼容,并且可以兼容较旧的XP系统也应进行检查..

i need to integrate a webcam in my wpf application to take pictures as well, i looked at the various libraries available on the .net platform like wpfmediakit, webcamcapture etc. but none seems to go well with my project, and yes compatibility with older XP systems should also be looked at..

推荐答案

我没有使用任何第三方库,而是始终使用内置于Windows API的库.我已使用 Windows视频(VFW) [ ^ ],并且当前使用 Windows图像采集(WIA) [
I haven''t used any third party libraries but instead always used built in Windows APIs. I''ve used Video for Windows (VFW)[^] in the past and currently use DirectShow[^]. For Vista and later (although it originally came out in XP) there''s also Windows Image Acquisition (WIA)[^].

Do a search on ".NET webcam" and you''ll find lots of .NET wrappers using these APIs.


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

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