积极答复者
uwp 应用怎么调用opencv的c++ 程序?

问题
答案
-
你好,
在UWP中,你可以创建Windows 运行时组件然后将OpenCV NuGet包添加到你的组件项目,在组件项目中使用OpenCV的api。最后在你的UWP项目上引用和调用该组件。关于详细内容你可以参考这个文档,另外这个是关于使用OpenCV的一个官方示例。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已编辑 Fay WangMicrosoft contingent staff 2019年12月24日 9:26
- 已标记为答案 BillQu01 2019年12月25日 6:29
全部回复
-
你好,
在UWP中,你可以创建Windows 运行时组件然后将OpenCV NuGet包添加到你的组件项目,在组件项目中使用OpenCV的api。最后在你的UWP项目上引用和调用该组件。关于详细内容你可以参考这个文档,另外这个是关于使用OpenCV的一个官方示例。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.- 已编辑 Fay WangMicrosoft contingent staff 2019年12月24日 9:26
- 已标记为答案 BillQu01 2019年12月25日 6:29
-
你好,
在UWP中,你可以创建Windows 运行时组件然后将OpenCV NuGet包添加到你的组件项目,在组件项目中使用OpenCV的api。最后在你的UWP项目上引用和调用该组件。关于详细内容你可以参考这个文档,另外这个是关于使用OpenCV的一个官方示例。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.
谢谢您说的例子。
里面代码如下,没看懂,请问^是什么?
void Blur(
Windows::Graphics::Imaging::SoftwareBitmap^ input,
Windows::Graphics::Imaging::SoftwareBitmap^ output);
- 已编辑 BillQu01 2019年12月25日 0:35
-
你好,
该文档中的“^”是C++/CX的语法,它表示“指向自动引用计数的Windows运行时对象的指针”。 它的用法类似于标准C ++中的“*”,表示对象的指针。您可以浏览此文档以了解更多关于C++/CX的信息。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post. -
你好,
该文档中的“^”是C++/CX的语法,它表示“指向自动引用计数的Windows运行时对象的指针”。 它的用法类似于标准C ++中的“*”,表示对象的指针。您可以浏览此文档以了解更多关于C++/CX的信息。
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post. -
你好,
上述回答是否解决了你的问题? 你还有什么没有解决的吗?
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.