opencv和Windows窗体应用程序 [英] opencv and windows form application

查看:102
本文介绍了opencv和Windows窗体应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我要使用vc ++在Windows中创建一个Windows窗体应用程序,并使用opencv处理图像.
但是,我想该属性设置与vc ++的常规控制台应用程序不同.如果有人可以帮助iut,将不胜感激..

hey guys,
i am to create a windows form application in vc++ working with images using opencv.
but,i guess the property setting is different from the normal console applications of vc++.If any one could help iut would be really appreciated..

推荐答案

随着OpenCV的编写在C ++中,同时使用C ++和C ++/CLI开发混合模式(托管+非托管)项目将是一个不错的选择,尤其是与P/Invoke的麻烦相比.您可以将所有OpenCV API直接包装在托管的"ref"类和结构中,然后在您的.NET代码中使用,无论是否使用System.Windows.Forms.

—SA
As OpenCV is written in C++, developing a mixed-mode (managed + unmanaged) project using both C++ and C++/CLI would be a good choice, especially if compared with possible hassles of P/Invoke. You can directly wrap all the OpenCV API in managed "ref" classes and structure and then use it in your .NET code, with System.Windows.Forms or not.

—SA


这篇关于opencv和Windows窗体应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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