Please post in https://github.com/nguyenq/tess4j/issues
On Tue, Jun 26, 2018 at 1:30 PM Kiran Sonar <kiransona...@gmail.com> wrote: > 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? > > -- > 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-ocr+unsubscr...@googlegroups.com. > To post to this group, send email to tesseract-ocr@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 > <https://groups.google.com/d/msgid/tesseract-ocr/81ae872d-a427-49c9-b35b-d55245b382b3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.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-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@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/CAG2NduVKE9H5-W8S4ZQye4e-JiMa1D043SrhQAKm-bCZDqqzDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.