liuruoze / EasyPR

(CGCSTCD'2017) An easy, flexible, and accurate plate recognition project for Chinese licenses in unconstrained situations. CGCSTCD = China Graduate Contest on Smart-city Technology and Creative Design
Apache License 2.0
6.36k stars 2.51k forks source link

如何在其他项目调用libeeasypr.lib #314

Open happyfox-dot opened 4 years ago

happyfox-dot commented 4 years ago

我下载好eaypr后成功编译生成了libeasypr.lib 但是我在其他项目里调用这个库会运行错误。能生成项目但就是运行的时候遇到异常并且中段、 控制台现实的代码是:OpenCV(3.4.10) Error: Assertion failed (fs.isOpened()) in cv::ml::ANN_MLP::load, file C:\build\3_4_winpack-build-win64-vc15\opencv\modules\ml\src\ann_mlp.cpp, line 1597

并且在base.hpp 文件下的函数中断 CV_INLINE CV_NORETURN void errorNoReturn(int _code, const String& _err, const char _func, const char _file, int _line) { error(_code, _err, _func, _file, _line);

ifdef GNUC

if !defined clang && !defined APPLE

// this suppresses this warning: "noreturn" function does return [enabled by default]
__builtin_trap();
// or use infinite loop: for (;;) {}

endif

endif

} 这个有解决方法吗?