guojin-yan / PaddleOCR-OpenVINO-CSharp

Deploying PaddleOCR model based on OpenVINO C# API.
Apache License 2.0
35 stars 5 forks source link

请问遇到这个load dll 怎么处理 #4

Open jason000000001 opened 5 months ago

jason000000001 commented 5 months ago

Connection id "0HN0I0LH3FJVP", Request id "0HN0I0LH3FJVP:00000002": An unhandled exception was thrown by the application. System.DllNotFoundException: Unable to load DLL 'openvino_c' or one of its dependencies: 找不到指定的模块。 (0x8007007E)

请问遇到这个load dll 怎么处理 运行环境 windows server 2019 64位中文版 CPU xeon(R) 8475b 2核4G内存

guojin-yan commented 5 months ago

你好, windows server 2019 系统我们有测试过,但是遇到过有人反映过类似问题,主要是检查以下几个方面: 1.检查一下openvino_c.dll文件是否在路径下,不然就把openvino_c文件所在路径的所有文件都拷贝到项目运行目录,即程序.exe所在路径;或者将openvino_c所在路径放在环境变量中。 2.检查一下 windows server 2019是否缺少OpenVINO相应的依赖项,检出一下dll文件是否缺少依赖,因为官方只给了编译好的在windows11/10下运行的依赖库,没有提供 windows server 2019系统的依赖,你可以下载openvino源码自行编译。

jason000000001 commented 5 months ago

稳定运行的测试系统。一般那个版本比较好,阿里云服务器

guojin-yan commented 5 months ago

抱歉哈,这个没有测试过。你可以去请教一下其他的大佬。

jason000000001 commented 5 months ago

那Linux 下,centos 7.9+有稳定测试过吗