java-springboot-paddleocr-v2
java-springboot-paddleocr-v2 copied to clipboard
本项目利用JNI加载paddle-ocr的C++编译的dll库,并利用springboot进行web部署访问。This project uses JNI to load the C++ compiled dll libraries of paddle-ocr, and uses springboot for web deployment
不能加载这个文件,文件已经按照说明都放在了指定的位置。 Caused by: java.lang.ExceptionInInitializerError: unable to load from [paddle_inference.dll] at io.github.greycode.JniLoader.load(JniLoader.java:53) ~[ocrlite-3.0.0.jar:na] at io.github.greycode.PaddleOcr.loadLib(PaddleOcr.java:171) ~[ocrlite-3.0.0.jar:na] at io.github.greycode.PaddleOcr.(PaddleOcr.java:133) ~[ocrlite-3.0.0.jar:na] at com.sy.ocr.OcrService.loadOcrDriver(OcrService.java:69) ~[classes/:1.0-SNAPSHOT] at com.sy.ocr.OcrService.init(OcrService.java:40) ~[classes/:1.0-SNAPSHOT] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)...
v2版本项目使用ocrlite依赖PaddleOcr加载模型时出现bug,错误为:paddle_inference.dll: %1 不是有效的 Win32 应用程序。
Is there any alternative way of downloading the jni files included in the readme ??