UWP应用程序未检测到我的网络摄像头。

编程入门 行业动态 更新时间:2024-10-17 00:25:38
本文介绍了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 QTuse 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应用程序未检测到我的网络摄像头。

本文发布于:2023-07-14 10:07:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1104055.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   检测到   摄像头   网络   UWP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!