How to convert Image into Text?

127 views
Skip to first unread message

Rakesh Kumar

unread,
Sep 22, 2018, 9:55:28 AM9/22/18
to tesseract-ocr

I have installed tesseract in my MAC and looking various online forums on how to Convert Image into Text using Java code, most of the help i can find is in windows but not in MAC OS. Posting my question here if i can get any help?

 

Hieu Nguyen Minh

unread,
Sep 23, 2018, 11:52:11 PM9/23/18
to tesseract-ocr

Rakesh Kumar

unread,
Sep 24, 2018, 2:47:48 PM9/24/18
to tesser...@googlegroups.com
When i run the code i get the error, i have attached in the email.
Also would you mind giving the documentation to use?

--
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/d8d1b450-dadc-4a48-8b01-4ed931632997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Archive.zip

Rakesh Kumar

unread,
Sep 24, 2018, 4:25:30 PM9/24/18
to tesser...@googlegroups.com
Please find the error message i am seeing when executing the code. I have associated jul-to-slf4j-1.7.20.jar

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

at net.sourceforge.tess4j.Tesseract.<clinit>(Tesseract.java:76)

at tess.TesseractExample.main(TesseractExample.java:11)

Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 2 more

Rakesh Kumar

unread,
Sep 25, 2018, 2:41:35 PM9/25/18
to tesser...@googlegroups.com
Apologies for constant reminders! Appreciate your help.
Reply all
Reply to author
Forward
0 new messages