在 VB.NET 项目中使用 OpenCV 库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38535062/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-17 19:59:48  来源:igfitidea点击:

Using OpenCV library in VB.NET project

vb.netvisual-studioopencv

提问by libhu

I am trying to use the OpenCVlibrary in order to load an image in a VB window. I am using Visual Studio 2012, I have no idea how to add OpenCV references into my VB.NET project!

我正在尝试使用OpenCV库在 VB 窗口中加载图像。我正在使用Visual Studio 2012,我不知道如何将 OpenCV 引用添加到我的 VB.NET 项目中!

How can I fix this problem?

我该如何解决这个问题?

Enter image description here

在此处输入图片说明

回答by rkd

First this: https://www.nuget.org/packages/OpenCV.Net/and then replace your 'using ??' with: Imports OpenCV.Net

首先这个:https: //www.nuget.org/packages/OpenCV.Net/然后替换你的“使用 ??” 与:导入 OpenCV.Net