tesseract  5.0.0-alpha-619-ge9db
tesseract::TessLSTMBoxRenderer Class Reference

#include <renderer.h>

Inheritance diagram for tesseract::TessLSTMBoxRenderer:
tesseract::TessResultRenderer

Public Member Functions

 TessLSTMBoxRenderer (const char *outputbase)
 
- Public Member Functions inherited from tesseract::TessResultRenderer
virtual ~TessResultRenderer ()
 
void insert (TessResultRenderer *next)
 
TessResultRenderernext ()
 
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 AddImageHandler (TessBaseAPI *api) override
 
- Protected Member Functions inherited from tesseract::TessResultRenderer
 TessResultRenderer (const char *outputbase, const char *extension)
 
virtual bool BeginDocumentHandler ()
 
virtual bool EndDocumentHandler ()
 
void AppendString (const char *s)
 
void AppendData (const char *s, int len)
 

Detailed Description

Renders tesseract output into a plain UTF-8 text string for LSTMBox

Definition at line 264 of file renderer.h.

Constructor & Destructor Documentation

◆ TessLSTMBoxRenderer()

tesseract::TessLSTMBoxRenderer::TessLSTMBoxRenderer ( const char *  outputbase)
explicit

Definition at line 108 of file lstmboxrenderer.cpp.

Member Function Documentation

◆ AddImageHandler()

bool tesseract::TessLSTMBoxRenderer::AddImageHandler ( TessBaseAPI api)
overrideprotectedvirtual

Implements tesseract::TessResultRenderer.

Definition at line 111 of file lstmboxrenderer.cpp.


The documentation for this class was generated from the following files: