本文介绍了与Surface Pro 3上的内置相机接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用WPF/C#构建了一个具有摄像头控件来捕获图像的应用程序.将USB摄像头与该应用程序配合使用时,一切都很好.我的应用程序可以在Surface Pro 3上看到内置的摄像头,但是图像只是黑色的. 通过对问题的尽职调查,我得出的结论是Windows 8.1并未授予我的应用程序对内置摄像头的访问权限.当我进入隐私设置"时,>网络摄像头,我看到了我可以授予的应用程序列表 或限制对摄像机的访问.我的应用程序不在该列表上,无法授予其使用权限.

I have built an application using WPF/C# that has a camera control to capture an image.  All is good when using a USB camera with the application.   My application can see the built in cameras on the Surface Pro 3 but the image is just black.  In doing due diligence in researching the problem I have come to the conclusion that Windows 8.1 is not granting my application access to the built in cameras.  When I go to the Privacy settings --> Webcam I see a list of application that I can grant or restrict access to the cameras.  My application is not on that list to grant it permission to be used.  How do I gain access to the cameras or get windows to put my application into the list to grant it permission?

推荐答案

谢谢您在这里发布.

对于您的问题,您可以从  代码项目中供参考.程序 利用相机捕获照片和视频.

For your question, you could download the source file from Building camera app with library in Windows 10 in code project for reference. The program make use of camera, for capturing photos and videos.

我希望这会有所帮助.

最好的问候,

Wendy


这篇关于与Surface Pro 3上的内置相机接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 21:57