tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
20 #ifndef TESSERACT_CSTRUCT_BOXWORD_H_
21 #define TESSERACT_CSTRUCT_BOXWORD_H_
82 int length()
const {
return length_; }
88 void ComputeBoundingBox();
97 #endif // TESSERACT_CSTRUCT_BOXWORD_H_
void DeleteBox(int index)
static BoxWord * CopyFromNormalized(TWERD *tessword)
void ClipToOriginalWord(const BLOCK *block, WERD *original_word)
void CopyFrom(const BoxWord &src)
const TBOX & BlobBox(int index) const
void ProcessMatchedBlobs(const TWERD &other, std::function< void(int)> cb) const
void InsertBox(int index, const TBOX &box)
void ChangeBox(int index, const TBOX &box)
BoxWord & operator=(const BoxWord &src)
void MergeBoxes(int start, int end)
const TBOX & bounding_box() const