#include <renderer.h>
Public Member Functions | |
TessHOcrRenderer (const char *outputbase, bool font_info) | |
TessHOcrRenderer (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 | |
virtual bool | BeginDocumentHandler () |
virtual bool | AddImageHandler (TessBaseAPI *api) |
virtual bool | EndDocumentHandler () |
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) |
Private Attributes | |
bool | font_info_ |
Renders tesseract output into an hocr text string
|
explicit |
|
explicit |
|
protectedvirtual |
Implements tesseract::TessResultRenderer.
|
protectedvirtual |
Reimplemented from tesseract::TessResultRenderer.
|
protectedvirtual |
Reimplemented from tesseract::TessResultRenderer.
|
private |