tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
19 #ifndef TESSERACT_CCUTIL_BOXREAD_H_
20 #define TESSERACT_CCUTIL_BOXREAD_H_
54 bool ReadMemBoxes(
int target_page,
bool skip_blanks,
const char* box_data,
55 bool continue_on_failure,
74 bool ReadNextBox(
int target_page,
int *line_number, FILE* box_file,
86 #endif // TESSERACT_CCUTIL_BOXREAD_H_
bool ReadMemBoxes(int target_page, bool skip_blanks, const char *box_data, bool continue_on_failure, GenericVector< TBOX > *boxes, GenericVector< STRING > *texts, GenericVector< STRING > *box_texts, GenericVector< int > *pages)
void MakeBoxFileStr(const char *unichar_str, const TBOX &box, int page_num, STRING *box_str)
bool ReadNextBox(int *line_number, FILE *box_file, STRING *utf8_str, TBOX *bounding_box)
bool ReadAllBoxes(int target_page, bool skip_blanks, const STRING &filename, GenericVector< TBOX > *boxes, GenericVector< STRING > *texts, GenericVector< STRING > *box_texts, GenericVector< int > *pages)
bool ParseBoxFileStr(const char *boxfile_str, int *page_number, STRING *utf8_str, TBOX *bounding_box)
const int kBoxReadBufSize
FILE * OpenBoxFile(const STRING &fname)