java.lang.UnsatisfiedLinkError: The specified module could not be found.

870 views
Skip to first unread message

Kiran Sonar

unread,
Jun 26, 2018, 4:00:29 AM6/26/18
to tesseract-ocr
I moved to tess4j_4.00 from tess4J_3.8.4 which is neccesary to use new trainedData- best files. I am getting this error
Exception in thread "main" java.lang.UnsatisfiedLinkError: The specified module could not be found.

at com.sun.jna.Native.open(Native Method)
at com.sun.jna.Native.open(Native.java:1759)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
at com.sun.jna.Native.register(Native.java:1396)
at com.sun.jna.Native.register(Native.java:1156)
at net.sourceforge.tess4j.TessAPI1.<clinit>(TessAPI1.java:41)
at OCR.confidenceWord(OCR.java:106)
at OCR.processImg(OCR.java:381)
at test.main(test.java:10)

I've reinstalled VC++ 2015 redistributable. I looked up in dependencyWalker but no dll seems to be missing. I enabled JNA logs and get this
Looking in classpath from sun.misc.Launcher$AppClassLoader@73d16e93 for /com/sun/jna/win32-x86-64/jnidispatch.dll
Found library resource at jar:file:/D:/Kiran/Update_27/Test/lib/jna-4.1.0.jar!/com/sun/jna/win32-x86-64/jnidispatch.dll
Looking for library 'libtesseract400'
Adding paths from jna.library.path: D://KITE_DATA//ExternalLib//TextLib//win32-x86-64;C:\Users\kirans13\AppData\Local\Temp\tess4j\win32-x86-64
Trying D:\KITE_DATA\ExternalLib\TextLib\win32-x86-64\libtesseract400.dll
Adding system paths: []
Trying D:\KITE_DATA\ExternalLib\TextLib\win32-x86-64\libtesseract400.dll
Looking for lib- prefix
Trying liblibtesseract400.dll
Looking in classpath from sun.misc.Launcher$AppClassLoader@73d16e93 for libtesseract400
Found library resource at jar:file:/D:/Kiran/Update_27/Test/lib/tess4j-4.0.0.jar!/win32-x86-64/libtesseract400.dll

Does anyone know how to resolve this issue?

Shree Devi Kumar

unread,
Jun 26, 2018, 4:12:24 AM6/26/18
to tesser...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/81ae872d-a427-49c9-b35b-d55245b382b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Kiran Sonar

unread,
Jun 26, 2018, 11:59:18 AM6/26/18
to tesser...@googlegroups.com
Sure

You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/pDp2Nt_hj3I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-oc...@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.

chandra churh chatterjee

unread,
Jun 28, 2018, 3:41:23 AM6/28/18
to tesser...@googlegroups.com
@Shree Devi Kumar ,
Can I get a complete detailed description of the Neural Network Architecture of the Tesseract 4 with diagram relating to what the net_spec command line of lstm training specifies.

Shree Devi Kumar

unread,
Jun 28, 2018, 7:03:52 AM6/28/18
to tesser...@googlegroups.com
Training was done by Ray Smith at Google.

Available documentation is in the wiki.


The info you are looking for maybe in the powerpoint files.


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages