ViewerDebugging error on Windows

216 views
Skip to first unread message

Matteo Brisinello

unread,
Feb 15, 2017, 12:25:07 AM2/15/17
to tesseract-ocr
Hi,

I use Tesseract 3.05.00dev on Windows 7. I followed all the steps from https://github.com/tesseract-ocr/tesseract/wiki/ViewerDebugging :

1) Installed Java runtime,
2) Downloaded picoolo2d-core-3.0.jar and piccolo2d-extras-3.0.jar and put them in the C:\Tesseract-OCR\java where SrcollView.jar is located,
3) Set the SCROLLVIEW_PATH to C:\Tesseract-OCR\java,
4) Downloaded piccolo-1.2.jar and piccolox-1.2.jar from http://www.java2s.com/Code/Jar/p/Downloadpiccolo12jar.htm and also put them in the C:\Tesseract-OCR\java folder,
5) java is in the path.

I downloaded Tesseract from https://github.com/UB-Mannheim/tesseract/wiki (the .exe file).

When I run java -Xms512m -Xmx1024m -Djava.library.path=%SCROLLVIEW_PATH% -cp %SCROLLVIEW_PATH%/ScrollView.jar;%SCROLLVIEW_PATH%/piccolo-1.2.jar;%SCROLLVIEW_PATH%/piccolox-1.2.jar com.google.scrollview.ScrollView,
I get the message Socket started on port 8461. When I run tesseract phototest.tif test1 segdemo inter in a different cmd, I get this message in the first window:

Client connected
Exception in thread "main" java.lang.NoClassDefFoundError: org/piccolo2d/PCanvas

        at com.google.scrollview.ScrollView.processInput(ScrollView.java:336)
        at com.google.scrollview.ScrollView.IOLoop(ScrollView.java:120)
        at com.google.scrollview.ScrollView.main(ScrollView.java:398)
Caused by: java.lang.ClassNotFoundException: org.piccolo2d.PCanvas
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 3 more

and nothing happens.

Does anyone know what is the problem?

Matteo Brisinello

unread,
Feb 15, 2017, 9:50:17 AM2/15/17
to tesseract-ocr
I solved the problem by downloading files from http://rdaemons.blogspot.hr/2012/06/tesseract-ocr-interactive-debugging.html provided by Dmitri Silaev.

I copied piccolo-1.2.jar, piccolox-1.2.jar and ScrollView.jar from the downloaded package to C:\Tesseract-OCR\java.

ShreeDevi Kumar

unread,
Feb 21, 2017, 10:29:48 PM2/21/17
to tesser...@googlegroups.com

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ 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+unsubscribe@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/68e0decd-7ad0-4613-9b43-f380638a5bca%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages