tesseract
5.0.0-alpha-619-ge9db
|
#include <renderer.h>
Public Member Functions | |
TessAltoRenderer (const char *outputbase) | |
Public Member Functions inherited from tesseract::TessResultRenderer | |
virtual | ~TessResultRenderer () |
void | insert (TessResultRenderer *next) |
TessResultRenderer * | next () |
bool | BeginDocument (const char *title) |
bool | AddImage (TessBaseAPI *api) |
bool | EndDocument () |
const char * | file_extension () const |
const char * | title () const |
bool | happy () |
int | imagenum () const |
Protected Member Functions | |
bool | BeginDocumentHandler () override |
bool | AddImageHandler (TessBaseAPI *api) override |
bool | EndDocumentHandler () override |
Protected Member Functions inherited from tesseract::TessResultRenderer | |
TessResultRenderer (const char *outputbase, const char *extension) | |
void | AppendString (const char *s) |
void | AppendData (const char *s, int len) |
Renders tesseract output into an alto text string
Definition at line 185 of file renderer.h.
|
explicit |
Definition at line 111 of file altorenderer.cpp.
|
overrideprotectedvirtual |
Append the ALTO XML for the layout of the image
Implements tesseract::TessResultRenderer.
Definition at line 93 of file altorenderer.cpp.
|
overrideprotectedvirtual |
Append the ALTO XML for the beginning of the document
Reimplemented from tesseract::TessResultRenderer.
Definition at line 56 of file altorenderer.cpp.
|
overrideprotectedvirtual |
Append the ALTO XML for the end of the document
Reimplemented from tesseract::TessResultRenderer.
Definition at line 105 of file altorenderer.cpp.