/home/rays/src/opensrc/tesseract-ocr/ccstruct/boxread.h File Reference
#include <stdio.h>
#include "strngs.h"
Go to the source code of this file.
Functions |
FILE * | OpenBoxFile (const STRING &fname) |
bool | ReadNextBox (int *line_number, FILE *box_file, STRING *utf8_str, TBOX *bounding_box) |
bool | ReadNextBox (int target_page, int *line_number, FILE *box_file, STRING *utf8_str, TBOX *bounding_box) |
bool | ParseBoxFileStr (const char *boxfile_str, int *page_number, STRING *utf8_str, TBOX *bounding_box) |
void | MakeBoxFileStr (const char *unichar_str, const TBOX &box, int page_num, STRING *box_str) |
Variables |
const int | kBoxReadBufSize = 1024 |
Function Documentation
void MakeBoxFileStr |
( |
const char * |
unichar_str, |
|
|
const TBOX & |
box, |
|
|
int |
page_num, |
|
|
STRING * |
box_str | |
|
) |
| | |
FILE* OpenBoxFile |
( |
const STRING & |
fname |
) |
|
bool ParseBoxFileStr |
( |
const char * |
boxfile_str, |
|
|
int * |
page_number, |
|
|
STRING * |
utf8_str, |
|
|
TBOX * |
bounding_box | |
|
) |
| | |
bool ReadNextBox |
( |
int |
target_page, |
|
|
int * |
line_number, |
|
|
FILE * |
box_file, |
|
|
STRING * |
utf8_str, |
|
|
TBOX * |
bounding_box | |
|
) |
| | |
bool ReadNextBox |
( |
int * |
line_number, |
|
|
FILE * |
box_file, |
|
|
STRING * |
utf8_str, |
|
|
TBOX * |
bounding_box | |
|
) |
| | |
Variable Documentation