gpt4 book ai didi

c++ - 如何通过一些图像处理在带有 Windows iot 的 Raspberry pi 上显示来自相机的视频流

转载 作者:太空宇宙 更新时间:2023-11-03 23:14:33 25 4
gpt4 key购买 nike

  1. 我正在尝试使用 Raspberry pi 作为基础并使用 Win 10 IOT 作为操作系统构建一个基于网络摄像头的人脸检测器
  2. 我 try catch 的图像将来自具有自己的 API 的网络摄像头
  3. 我需要 OpenCV 来检测物体,因为可以使用任何 Haar 分类器
  4. 我无法将我的控制台应用程序移植到 ARM 基础上
  5. 通用 Windows APP 所需的 Xaml 不支持使用图像构造函数将视频捕获作为输出类型即时通讯新观点
  6. 在我们的代码中使用 Videocapture 时,将图像写入 mat 类型时,天气我们使用 cap>>MAt 或 cap.retrive(mat,0) 我们得到了相同的异常错误this->_M_dispatcher._Ptr 是一个 nullptr 。

感谢您提供任何这些方面的帮助

最佳答案

I am trying to build a webcam based face detector using Raspberry pi as the base and Win 10 IOT as the OS.

Windows IoT 完全支持某些 USB 网络摄像头,请确保您的设备在兼容 list 中受支持.

The image i'm trying to capture will come from a webcam having its own API

自己的 API 是否支持 Windows ARM 平台?如果不是,您可能需要针对 ARM 编译它,如果它不是开源的,请向网络摄像头制造商提出要求。

OpenCV is required for me to detect the object as any Haar classifier can be used.

Windows IoT 完全支持 OpenCV 感谢 Microsoft 的 porting .可以按照教程here为 Windows ARM 编译它。

如果您使用 C# 开发 UWP 应用程序,您可能需要围绕 OpenCV dll 创建一个包装器类。或者,最新版本 Emgu CV引入了对 UWP 的支持。

I am not able to port my Console appln onto the ARM base Xaml required for the Universal Windows APP does not support the video capture as an output type

能否请您提供一些代码示例?

关于c++ - 如何通过一些图像处理在带有 Windows iot 的 Raspberry pi 上显示来自相机的视频流,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42444211/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com