UWP应用程序未检测到我的网络摄像头。 [英] UWP applications are not detecting my webcam.

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

问题描述

 

我在Qt中开发应用程序,但我的问题与Windows相关。当我使用MinGW编译我的程序时,我的网络摄像头(a4tech pk-635)就像一个魅力,但是当为UWP编译相同的代码时却没有检测到。此外,我的网络摄像头使用
任何'oldfashion'软件,但现代应用程序(如现代Skype)无法识别。为什么?我该如何解决这个问题?

I am developing application in Qt, but my problem is pretty Windows-related. My webcam (a4tech pk-635) works like a charm when I compile my program with MinGW, but is not detected when this same code is compiled for UWP. Furthermore, my webcam works with any 'oldfashion' software, but is not recognized by modern applications (like modern skype). Why? How can I fix that?

 我正在使用Win10 Pro,x64。在此先感谢。 

 I am working on Win10 Pro, x64. Thanks in advance. 

推荐答案

您好,

感谢您在此发帖。

据我所知,UWP和QT使用不同的编译器编译应用程序,当为UWP编译相同的代码时,我认为它无法工作。

As far as I know that the UWP and QT use different compiler to compile application, when same code is compiled for UWP, I think that it cannot work.

您应该使用UWP相关API来调用网络摄像头,然后进行编译。

You should use the UWP relevant API to call web camera, then compile it.

根据我的搜索,以下链接你可以参考它。

Based on my search, the following links you can reference it.

显示相机预览。

音频,视频和相机

使用Windows内置相机UI捕捉照片和视频

Best此致,

Hart


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

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