ScrollView problem

46 views
Skip to first unread message

Jingjing Lin

unread,
Jun 28, 2019, 2:39:46 PM6/28/19
to tesseract-ocr
I'm trying to use ScrollView to see how tesseract does segmentation internally, and get the below error. Anyone have any idea about what is happening? Thanks!

ScrollView: Waiting for server...

Socket started on port 8461

Client connected

Exception in thread "main" java.lang.NoClassDefFoundError: org/piccolo2d/PNode

at com.google.scrollview.ScrollView.processInput(ScrollView.java:340)

at com.google.scrollview.ScrollView.IOLoop(ScrollView.java:124)

at com.google.scrollview.ScrollView.main(ScrollView.java:401)

Caused by: java.lang.ClassNotFoundException: org.piccolo2d.PNode

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

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

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

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

... 3 more

sh: 1: kill: No such process

Mox Betex

unread,
Jun 28, 2019, 4:36:42 PM6/28/19
to tesseract-ocr
Do you have these files in same folder as ScrollView.jar: piccolo2d-core-3.0.jar, piccolo2d-extras-3.0.jar and jaxb-api-2.3.1.jar ?

Jingjing Lin

unread,
Jun 28, 2019, 4:51:28 PM6/28/19
to tesseract-ocr
Yes they were in different folder. I moved them to the same folder and now the command stuck after
 

ScrollView: Waiting for server...

Socket started on port 8461

Client connected


Is this because I'm running tesseract on a ubuntu server. So somehow the output cannot be viewed?


在 2019年6月28日星期五 UTC-4下午4:36:42,Mox Betex写道:

Zdenko Podobny

unread,
Jun 30, 2019, 9:10:30 AM6/30/19
to tesser...@googlegroups.com
Description how to run Segmenter Debug Mode is described in wiki . Which version of tesseract you used? Did you compiled by yourself ScrollView.jar?

What does it mean that you run tesseract on ubuntu server? Is it headless system?

Zdenko

Zdenko


pi 28. 6. 2019 o 22:51 Jingjing Lin <joejo...@gmail.com> napísal(a):
--
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/ab9552ea-5ca3-40e3-a944-3d2466bb2118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jingjing Lin

unread,
Jun 30, 2019, 9:58:53 AM6/30/19
to tesseract-ocr
Thanks I'm aware of the wiki page. The tesseract I'm running is the newest version that was built from source less than one month ago. I did compile ScrollView.jar from by myself. And the system I'm running it on is a headless system, it's a Ubuntu 16.04

在 2019年6月30日星期日 UTC-4上午9:10:30,zdenop写道:
Description how to run Segmenter Debug Mode is described in wiki . Which version of tesseract you used? Did you compiled by yourself ScrollView.jar?

What does it mean that you run tesseract on ubuntu server? Is it headless system?

Zdenko

Zdenko


pi 28. 6. 2019 o 22:51 Jingjing Lin <joejo...@gmail.com> napísal(a):
Yes they were in different folder. I moved them to the same folder and now the command stuck after
 

ScrollView: Waiting for server...

Socket started on port 8461

Client connected


Is this because I'm running tesseract on a ubuntu server. So somehow the output cannot be viewed?


在 2019年6月28日星期五 UTC-4下午4:36:42,Mox Betex写道:
Do you have these files in same folder as ScrollView.jar: piccolo2d-core-3.0.jar, piccolo2d-extras-3.0.jar and jaxb-api-2.3.1.jar ?

--
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 tesser...@googlegroups.com.

Zdenko Podobny

unread,
Jun 30, 2019, 11:33:52 AM6/30/19
to tesser...@googlegroups.com
tesseract start server and open (java) window with debugging info. So IMO you can not run it in real headless system, because there is no way how to show graphical results.

But you can try to use tools like e.g. mobaxterm on windows that can start graphical program from linux server (I use it to e.g. for rasbery pi)

Zdenko


ne 30. 6. 2019 o 15:58 Jingjing Lin <joejo...@gmail.com> napísal(a):
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.
Reply all
Reply to author
Forward
0 new messages