Reputation: 758
I am using AspriseOCR in my project for text recognition from the image. aspriseOCR.jar file is configured properly to my Eclipse Build Path Libraries, but getting the below error. Could someone please guide me how to resolve this?
java.lang.UnsatisfiedLinkError: no AspriseOCR in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at com.asprise.util.ocr.OCR.loadLibrary(OCR.java:247)
at com.asprise.util.ocr.OCR.<init>(OCR.java:56)
Upvotes: 0
Views: 4030
Reputation: 758
The problem is solved by copying below DLL files into "C:\Windows\System32" location, which can be found in "Asprise-OCR-Java.zip", downloaded from asprise site.
AspriseOCR.dll
DevIL.dll
ILU.dll
AspriseJTwain.dll
Upvotes: 2
Reputation: 16536
Remove aspriseOCR.jar
from your build path, and move it to libs
folder.
Upvotes: 0