Skip to content

Commit

Permalink
Fix text box width/hight calculation (addition)
Browse files Browse the repository at this point in the history
This occurrence was should have been included in commit 29d971e
but was overlooked by error.
  • Loading branch information
StefRe committed Jun 27, 2016
1 parent 29d971e commit c0fcce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/baseapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1704,8 +1704,8 @@ char* TessBaseAPI::GetTSVText(int page_number) {
tsv_str.add_str_int("\t", word_num);
tsv_str.add_str_int("\t", left);
tsv_str.add_str_int("\t", top);
tsv_str.add_str_int("\t", right - left + 1);
tsv_str.add_str_int("\t", bottom - top + 1);
tsv_str.add_str_int("\t", right - left);
tsv_str.add_str_int("\t", bottom - top);
tsv_str.add_str_int("\t", res_it->Confidence(RIL_WORD));
tsv_str += "\t";

Expand Down

0 comments on commit c0fcce2

Please sign in to comment.