Could someone please tell me how to implement the Asprise OCR library into my java program. I'm using Eclipse and I know how to import the .jar but as soon as I want to run my program it gives me errors about a .dll file that's missing.
Asked
Active
Viewed 2,164 times
0
-
1You need to leave more details, such as the text of the error message. – rmtheis Sep 05 '12 at 06:02
-
I fixed it now, just didn't copy the .dll's to the right place! – Kjeld Perquin Sep 08 '12 at 20:19
2 Answers
0
I fixed it, I just had to copy the .dll that came with the .jar to System32. If you don't want to add them to System 32 just add them to your workspace and use
'System.load("dll_name_without_.dll_at_the_end");'

Kjeld Perquin
- 121
- 2
- 9
0
Just FYI, Asprise OCR library for Java automatically handles the native library files since version 5.0.
Java offers two methods to load libraries and a good explanation is here Difference between System.load() and System.loadLibrary in Java

Community
- 1
- 1

Scanner.js Receipt Invoice OCR
- 344
- 2
- 9