在Web应用程序中使用C#捕获网络摄像头图像 [英] Capture webcam image using c# in webapplication

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

问题描述

请帮帮我,我需要一个Web应用程序项目的示例C#代码,其中用户必须通过WebCamera捕获其图像并将该图像保存在我的数据库中
为此,我在Google中进行了搜索,但我只获得了Winforms应用程序的结果,而没有Web应用程序的结果

所有这些都必须在webapplication中完成.请帮助我紧急

在此先感谢

Please help me out,i need a sample c# code for webapplication project in which the user have to capture his/her image through webcamera and save that image in my database
for this i searched in google but i got results only for winforms app not for webapplication

all this has to be done in webapplication.Pls help me urgent

Thanks in advance

推荐答案

Web应用程序无法单独执行此操作. C#代码在服务器上运行,无法访问客户端网络摄像头.您将需要一些客户端代码来执行此操作:ActiveX控件或Java applet或使用Flash或QuickTime插件.
这可以让您开始:
^ ]
使用直接Internet消息封装(DIME)的Webcam Web服务 [ ^ ]
Web application can not do that by itself. The C# code runs on server and does not have access to clients web cam. You''ll need some client side code to do that: an ActiveX control or Java applet or use Flash or QuickTime plugin.
This may give you a start:
Webcam Web Service[^]
Webcam Web Service using Direct Internet Message Encapsulation (DIME)[^]


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

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