如何在其他项目调用libeeasypr.lib
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6.4k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
我下载好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
}
这个有解决方法吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure when an external project calls libeasypr.lib, focusing on the OpenCV ANN_MLP::load assertion and the interruption shown in base.hpp. Inspect how the external project locates the resources used by the library; done means the project builds and runs without this OpenCV exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, opencv
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100