Windows 10 IOT Core , Normal C++ dll and C# code support?

Windows 10 IOT Core , Normal C++ dll and C# code support?

我有一个基于 OpenCV v3 用 c++ 编写的实时图像处理 DLL 和一个基于该 dll 的带有 GUI 的 C# 程序,我想在 Windows 10 IOT 核心中使用该 dll,是吗可能,还有使用 IP 摄像机获取帧并处理它们的 DLL。

有帮助吗?

谢谢

简短的回答是肯定的,但需要一些额外的工作。

您将无法将 C++ 非托管 dll 直接与 Windows IoT Core 一起使用。您需要使用 pInvoke 围绕您的原生 C++ API 创建一些 "wrapper" 类。

Microsoft 有 OpenCV 的官方 github 存储库分支,https://github.com/Microsoft/opencv, follow the tutorial here to use it with Windows IoT Core https://developer.microsoft.com/en-us/windows/iot/samples/opencv

另外,请注意 EMGU CV 在最新版本中引入了对 UWP 的支持,但是,您需要为此获得商业许可。