Home
last modified time | relevance | path

Searched refs:box_file (Results 1 – 7 of 7) sorted by relevance

/external/tesseract/ccutil/
Dboxread.cpp36 bool read_next_box(FILE* box_file, char* utf8_str, in read_next_box() argument
38 return read_next_box(-1, box_file, utf8_str, in read_next_box()
45 bool read_next_box(int target_page, FILE* box_file, char* utf8_str, in read_next_box() argument
54 while (fgets(buff, sizeof(buff) - 1, box_file)) { in read_next_box()
102 fclose(box_file); in read_next_box()
Dboxread.h36 bool read_next_box(FILE* box_file, char* utf8_str,
41 bool read_next_box(int page, FILE* box_file, char* utf8_str,
/external/tesseract/ccmain/
Dambigsrecog.cpp75 FILE *box_file; in ambigs_training_segmented() local
76 if (!(box_file = fopen(box_fname.string(), "r"))) { in ambigs_training_segmented()
89 read_next_box(applybox_page, box_file, label, in ambigs_training_segmented()
129 fclose(box_file); in ambigs_training_segmented()
Dapplybox.h54 FILE* box_file,
Dapplybox.cpp151 FILE* box_file; in apply_boxes() local
160 if (!(box_file = fopen (filename.string(), "r"))) { in apply_boxes()
171 while (read_next_box(applybox_page, box_file, &box, &uch_id)) { in apply_boxes()
321 FILE* box_file, in read_next_box() argument
330 if (read_next_box(page, box_file, uch, &x_min, &y_min, &x_max, &y_max)) { in read_next_box()
Dtesseractclass.h128 const STRING& box_file, // File with boxes.
/external/tesseract/training/
Dunicharset_extractor.cpp137 FILE* box_file = fopen(argv[tessoptind], "r"); in main() local
138 if (box_file == NULL) { in main()
145 while (read_next_box(box_file, c_string, &x_min, &y_min, &x_max, &y_max)) { in main()