tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::TessTsvRenderer Class Reference

#include <renderer.h>

Inheritance diagram for tesseract::TessTsvRenderer:
Collaboration diagram for tesseract::TessTsvRenderer:

Public Member Functions

 TessTsvRenderer (const char *outputbase, bool font_info)
 
 TessTsvRenderer (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

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_
 

Detailed Description

Renders Tesseract output into a TSV string

Constructor & Destructor Documentation

◆ TessTsvRenderer() [1/2]

tesseract::TessTsvRenderer::TessTsvRenderer ( const char *  outputbase,
bool  font_info 
)
explicit

◆ TessTsvRenderer() [2/2]

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

Member Function Documentation

◆ AddImageHandler()

bool tesseract::TessTsvRenderer::AddImageHandler ( TessBaseAPI api)
protectedvirtual

◆ BeginDocumentHandler()

bool tesseract::TessTsvRenderer::BeginDocumentHandler ( )
protectedvirtual

Reimplemented from tesseract::TessResultRenderer.

◆ EndDocumentHandler()

bool tesseract::TessTsvRenderer::EndDocumentHandler ( )
protectedvirtual

Reimplemented from tesseract::TessResultRenderer.

Member Data Documentation

◆ font_info_

bool tesseract::TessTsvRenderer::font_info_
private

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