简体   繁体   English

如何在OpenCV中使用cvblob? (已编译)

[英]How to use cvblob with OpenCV? (already compiled)

I finally managed to cmake and compile the cvblob projekt. 我终于设法cmake并编译了cvblob项目。 I thought that it will give me a lib but instead I got a dll. 我以为它会给我一个lib,但我却得到了一个dll。 I have the header file and a dll. 我有头文件和一个dll。 How can I use them in my project? 如何在项目中使用它们?

  1. avoid cvblob, it's outdated. 避免使用cvblob,它已经过时了。 it was great 5 years ago, but opencv in general has moved on to c++, and its current api can handle all of it without cvblob (which is using the deprecated c-api.) 它在5年前就很棒了,但是opencv总体上已经转向了c ++,并且它的当前api可以在不使用cvblob的情况下(使用不推荐使用的c-api)处理所有内容。

  2. if you succeeded to compile it, there should have been at least a 'stub' lib to link to ( which will link your exe to the dll at runtime ). 如果您成功编译它,则应该至少有一个链接到的“存根”库(它将在运行时将您的exe链接到dll)。 look again. 再看一遍。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM