Class ITessAPI.TessResultRenderer

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped
    Enclosing interface:
    ITessAPI

    public static class ITessAPI.TessResultRenderer
    extends com.sun.jna.PointerType
    Interface for rendering tesseract results into a document, such as text, HOCR or pdf. This class is abstract. Specific classes handle individual formats. This interface is then used to inject the renderer class into tesseract when processing images. For simplicity implementing this with tesseract version 3.01, the renderer contains document state that is cleared from document to document just as the TessBaseAPI is. This way the base API can just delegate its rendering functionality to injected renderers, and the renderers can manage the associated state needed for the specific formats in addition to the heuristics for producing it.
    • Method Summary

      • Methods inherited from class com.sun.jna.PointerType

        equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TessResultRenderer

        public TessResultRenderer​(com.sun.jna.Pointer address)
      • TessResultRenderer

        public TessResultRenderer()