opencv和VC ++ Windows窗体应用程序 [英] opencv and VC++ windows forms application

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

问题描述

嗨 我想创建一个带有按钮和图片框的表单,然后将其与opencv库链接.有人可以帮助我吗?
如何在vc ++ Windows窗体应用程序中做到这一点,我不需要使用MFC或win32
可以创建一个使用openCV类和函数的类,然后声明该类的全局实例,并可以在托管.NET代码中引用它. br/> 您无法在表单类中实例化非托管类.


Hi I want to create a form with a button and a picturebox, then link it with opencv library.can someone help me and
how can do it in vc++ windows forms application, i dont need to use MFC or win32
thanks

解决方案

You can create a class that uses openCV classes and functions and then declare a global instance of that class and you can reference it in managed .NET code.
You can''t instantiate an unmanaged class in the form class.


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

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