在WPF应用程序中访问平板电脑相机

问题描述:





我正在开发Windows 8.1平板电脑应用程序。我需要知道如何在应用程序运行时访问平板电脑相机。我的要求是当一个表单打开时,设备相机应该打开,拍照然后将其保存到数据库并返回到应用程序。

Hi,

I am developing a Windows 8.1 tablet application. I need to know how could i access tablet camera in the run time of application. My requirement is when a form is open the device camera should open, take a picture and then save it to the database and return to the application.

这将是不好回答一遍又一遍地回答同样的问题。回答太多次了。请参阅CodeProject:

http:/ /www.codeproject.com/search.aspx?q=WPF+camera+capture&doctypeid=1%3b5 [ ^ ]。



注意一个事情:可以检测到多个摄像头,因此您可能需要给用户一个选择。



-SA
It would be not good to answer the same question over and over. It was answered too many times. Please see at CodeProject:
http://www.codeproject.com/search.aspx?q=WPF+camera+capture&doctypeid=1%3b5[^].

Note just one thing: more than one camera could be detected, so you might need to give the user a choice.

—SA