【1】原文网址:https://github.com/tesseract-ocr/tesseract/wiki/ViewerDebugging
【2】http://rdaemons.blogspot.com/2012/06/tesseract-ocr-interactivedebugging.html
How to use the Viewer to debug recognition.
Introduction
Tesseract has a built-in capability to display its internal state, so that you can view its segmentation and recognition.
Building and installing
注:linux版本的编译可见我的另一篇博客,windows配置也参考我的另一篇博客。
The following components are required to run the viewer:
- Java runtime
- piccolo2d-core-3.0.jar
- piccolo2d-extras-3.0.jar
ScrollView.jar
, built from the source in tesseract/java
The piccolo libraries are available from:http://search.maven.org/#search|ga|1|g%3A%22org.piccolo2d%22. Download piccolo2d-core-3.0.jar, and piccolo2d-extras-3.0.jar to tesseract/java to build ScrollView.jar.
All these jar files need to go in a single directory. Tesseract learns the location either through the environment variable SCROLLVIEW_PATH or a compiler define of the same name.
Alternative download link by Dmitri Silaev is available fromhttp://www.4shared.com/zip/FnP8RSu0/tess_debug_3_02.html. Copy piccolo-1.2.jar, piccolox-1.2.jar and ScrollView.jar from the downloaded package to C:\Tesseract-OCR\java.