fix issue 309

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@372 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
joregan 2010-05-26 22:14:36 +00:00
parent 791f86b15a
commit 5567959c0a
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ BOOL_VAR(tessedit_read_image, TRUE, "Ensure the image is read");
INT_VAR(tessedit_serial_unlv, 0,
"0->Whole page, 1->serial no adapt, 2->serial with adapt");
INT_VAR(tessedit_page_number, -1,
"-1 -> All pages, else specifc page to process");
"-1 -> All pages, else specific page to process");
BOOL_VAR(tessedit_write_images, FALSE, "Capture the image from the IPE");
BOOL_VAR(tessedit_debug_to_screen, FALSE, "Dont use debug file");
@ -333,7 +333,7 @@ int main(int argc, char **argv) {
bool output_hocr = tessedit_create_hocr;
outfile = argv[2];
outfile += output_hocr ? ".html" : ".txt";
outfile += output_hocr ? ".html" : tessedit_create_boxfile ? ".box" : ".txt";
fp = fopen(outfile.string(), "w");
if (fp == NULL) {
tprintf("Cannot create output file %s\n", outfile.string());

View File

@ -29,7 +29,7 @@ extern BOOL_VAR_H(tessedit_read_image, TRUE, "Ensure the image is read");
extern INT_VAR_H(tessedit_serial_unlv, 0,
"0->Whole page, 1->serial no adapt, 2->serial with adapt");
extern INT_VAR_H(tessedit_page_number, -1,
"-1 -> All pages, else specifc page to process");
"-1 -> All pages, else specific page to process");
extern BOOL_VAR_H(tessedit_write_images, FALSE,
"Capture the image from the IPE");
extern BOOL_VAR_H(tessedit_debug_to_screen, FALSE, "Dont use debug file");