tesseract  4.0.0-1-g2a2b
tesseract::BlobData Struct Reference

Public Member Functions

 BlobData ()
 
 BlobData (int index, Tesseract *tess, const WERD_RES &word)
 

Public Attributes

TBLOBblob
 
Tesseracttesseract
 
BLOB_CHOICE_LIST ** choices
 

Detailed Description

Definition at line 27 of file par_control.cpp.

Constructor & Destructor Documentation

◆ BlobData() [1/2]

tesseract::BlobData::BlobData ( )
inline

Definition at line 28 of file par_control.cpp.

28 : blob(nullptr), choices(nullptr) {}
BLOB_CHOICE_LIST ** choices
Definition: par_control.cpp:36

◆ BlobData() [2/2]

tesseract::BlobData::BlobData ( int  index,
Tesseract tess,
const WERD_RES word 
)
inline

Definition at line 29 of file par_control.cpp.

30  : blob(word.chopped_word->blobs[index]),
31  tesseract(tess),
32  choices(&(*word.ratings)(index, index)) {}
GenericVector< TBLOB * > blobs
Definition: blobs.h:443
MATRIX * ratings
Definition: pageres.h:231
TWERD * chopped_word
Definition: pageres.h:215
BLOB_CHOICE_LIST ** choices
Definition: par_control.cpp:36
Tesseract * tesseract
Definition: par_control.cpp:35

Member Data Documentation

◆ blob

TBLOB* tesseract::BlobData::blob

Definition at line 34 of file par_control.cpp.

◆ choices

BLOB_CHOICE_LIST** tesseract::BlobData::choices

Definition at line 36 of file par_control.cpp.

◆ tesseract

Tesseract* tesseract::BlobData::tesseract

Definition at line 35 of file par_control.cpp.


The documentation for this struct was generated from the following file: