Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我的项目也用到了 opencv, 可否将 opencv 路径也支持配置呢,这样的话,就不用引入 2 个 opencv 进去了 #103

Open
Riant opened this issue Apr 19, 2024 · 1 comment

Comments

@Riant
Copy link

Riant commented Apr 19, 2024

甚至如果可以支持在运行时传递这个路径参数应该会更方便
如题,感谢作者。

@hiroi-sora
Copy link
Owner

hiroi-sora commented Apr 22, 2024

你好。在PaddleOCR-json的源码中,是没有显式指定dll搜索路径的。dll可能是在各个引用库的代码中进行加载。这样的话,不太方便传参配置。

不过,你可以反过来,让你的项目使用 PaddleOCR-json 目录中的 opencv_world470.dll 。或者,直接将你的程序文件,放置在 PaddleOCR-json 目录中。

或者,将 opencv_world470.dll 放置于环境变量path包含的目录中,应该也可以被程序搜索到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants