Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adds BoolParam tessedit_create_hocrtsv in class Tesseract.
  • Loading branch information
sundarcf authored and tfmorris committed Mar 1, 2016
1 parent 937ceb2 commit 738fe4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ccmain/tesseractclass.cpp
Expand Up @@ -385,6 +385,8 @@ Tesseract::Tesseract()
this->params()),
BOOL_MEMBER(tessedit_create_hocr, false, "Write .html hOCR output file",
this->params()),
BOOL_MEMBER(tessedit_create_hocrtsv, false, "Write .hocr.tsv TSV output file",
this->params()),
BOOL_MEMBER(tessedit_create_pdf, false, "Write .pdf output file",
this->params()),
STRING_MEMBER(unrecognised_char, "|",
Expand Down Expand Up @@ -510,6 +512,7 @@ Tesseract::Tesseract()
"Page separator (default is form feed control character)",
this->params()),


// The following parameters were deprecated and removed from their
// original
// locations. The parameters are temporarily kept here to give Tesseract
Expand Down
1 change: 1 addition & 0 deletions ccmain/tesseractclass.h
Expand Up @@ -1003,6 +1003,7 @@ class Tesseract : public Wordrec {
BOOL_VAR_H(tessedit_write_unlv, false, "Write .unlv output file");
BOOL_VAR_H(tessedit_create_txt, false, "Write .txt output file");
BOOL_VAR_H(tessedit_create_hocr, false, "Write .html hOCR output file");
BOOL_VAR_H(tessedit_create_hocrtsv, false, "Write .hocr.tsv hOCR-tsv output file");
BOOL_VAR_H(tessedit_create_pdf, false, "Write .pdf output file");
STRING_VAR_H(unrecognised_char, "|",
"Output char for unidentified blobs");
Expand Down

0 comments on commit 738fe4f

Please sign in to comment.