jtOCR
i am using Ubuntu 8.04
i tried to install jtOCR after the installation process when i tried to run the applet code using the following command, java -jar jtOCR.jar i got these exceptions. java.io.IOException: Cannot run program "/usr/local/share/jtOCR/tesseract/tesseract" (in directory "/root/Desktop"): java.io.IOException: error=13, Permission denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at net.sourceforge.jtocr.OCR.recognizeText(OCR.java:50) at net.sourceforge.jtocr.Gui$39.run(Gui.java:1068) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 10 more and in the applet image i got the dialog box as "cannot find tesseract. Please set its path" please reply. thanks |
ok, what is this tesseract program? does it exist in that specific location? does it exist somewhere else and you need to reference its correct location? is it executable?
|
All times are GMT -5. The time now is 08:09 PM. |