Coder Social home page Coder Social logo

ocrlite's People

Contributors

greycode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ocrlite's Issues

java.lang.ExceptionInInitializerError: unable to load from [paddle_inference.dll]

java.lang.ExceptionInInitializerError: unable to load from [paddle_inference.dll]
at io.github.greycode.JniLoader.load (JniLoader.java:53)
at io.github.greycode.PaddleOcr.loadLib (PaddleOcr.java:171)
at io.github.greycode.PaddleOcr. (PaddleOcr.java:133)
at io.github.greycode.OcrDriver.getPaddleOcr (OcrDriver.java:25)
at io.github.greycode.OcrDriver.initialize (OcrDriver.java:36)
at io.github.greycode.DemoApp.main (DemoApp.java:19)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:279)
at java.lang.Thread.run (Thread.java:834)

报错

3.0.2专用dll在classes下,按说明引入,初始化,报错

9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\Java\jdk-11.0.8\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\Sun\Java\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\system32\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python38\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python38\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python310\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python310\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\Common Files\Oracle\Java\javapath\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python39\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python39\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python38\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python38\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files (x86)\iis express\PHP\v7.1\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Windows\System32\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Windows\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Windows\System32\Wbem\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Windows\System32\WindowsPowerShell\v1.0\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Windows\System32\OpenSSH\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\NVIDIA Corporation\NVIDIA NGX\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\SDK\platform-tools\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\Git\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\PuTTY\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\flutter.pub-cache\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python38-32\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python38-32\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\Programs\Fiddler\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\system32\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\System32\Wbem\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\System32\WindowsPowerShell\v1.0\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\WINDOWS\System32\OpenSSH\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\ProgramData\chocolatey\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files (x86)\Yarn\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\wget.exe\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\OpenSSL-Win64\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\pepk.jar\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\SDK\build-tools\30.0.3\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Python38\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files (x86)\GnuWin32\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\flutter\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\protoc-3.17.3-win64\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\flutter\bin\cache\dart-sdk\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\apache-maven-3.8.3\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\jadx\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Roaming\Pub\Cache\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\erl10.3\erts-10.3\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\Java\jdk-11.0.8\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\MySQL\MySQL Server 5.7\bin_old\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\phpstudy_pro\Extensions\MySQL5.7.26\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\sentry-cli.exe\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\Program Files\Erlang OTP\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\nodejs\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\Docker\Docker\resources\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\ProgramData\DockerDesktop\version-bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\Program Files\Tesseract-OCR\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files (x86)\CMake\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\CMake\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python39\Scripts\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Programs\Python\Python39\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Microsoft\WindowsApps\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Local\Yarn\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\JetBrains\RubyMine 2020.3.1\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\JetBrains\PyCharm 2021.1\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Program Files\JetBrains\WebStorm 2021.1.1\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\go\bin\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking C:\Users\xiongyong\AppData\Roaming\npm\paddle_inference.dll
9月 23, 2022 6:40:09 下午 io.github.greycode.JniLoader load
信息: checking D:\spider-novel.\paddle_inference.dll
9月 23, 2022 6:40:10 下午 io.github.greycode.JniLoader liberalLoad
信息: attempting to load C:\Users\XIONGY1\AppData\Local\Temp\jniloader9226828563961310897paddle_inference.dll
9月 23, 2022 6:40:11 下午 io.github.greycode.JniLoader liberalLoad
警告: skipping load of C:\Users\XIONGY
1\AppData\Local\Temp\jniloader9226828563961310897paddle_inference.dll
java.lang.UnsatisfiedLinkError: C:\Users\xiongyong\AppData\Local\Temp\jniloader9226828563961310897paddle_inference.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
at java.base/java.lang.Runtime.load0(Runtime.java:765)
at java.base/java.lang.System.load(System.java:1835)
at io.github.greycode.JniLoader.liberalLoad(JniLoader.java:61)
at io.github.greycode.JniLoader.load(JniLoader.java:49)
at io.github.greycode.PaddleOcr.loadLibs(PaddleOcr.java:180)
at io.github.greycode.PaddleOcr.(PaddleOcr.java:133)
at io.github.greycode.OcrDriver.getPaddleOcr(OcrDriver.java:25)
at io.github.greycode.OcrDriver.initialize(OcrDriver.java:47)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.