mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Fix whitespace issues (space at line endings)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
c5030ea15a
commit
e1fea0700f
@ -789,7 +789,7 @@ char *TessBaseAPI::GetPAGEText(ETEXT_DESC *monitor, int page_number) {
|
||||
<< "\" caption=\"Regions reading order\">\n";
|
||||
|
||||
ResultIterator *res_it = GetIterator();
|
||||
|
||||
|
||||
float block_conf = 0;
|
||||
float line_conf = 0;
|
||||
|
||||
@ -874,7 +874,7 @@ char *TessBaseAPI::GetPAGEText(ETEXT_DESC *monitor, int page_number) {
|
||||
// for now using LinePts
|
||||
bool skewed_flag = (orientation_block != ORIENTATION_PAGE_UP &&
|
||||
orientation_block != ORIENTATION_PAGE_DOWN);
|
||||
|
||||
|
||||
if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) {
|
||||
// writing_direction_before = writing_direction;
|
||||
line_conf = ((res_it->Confidence(RIL_TEXTLINE)) / 100.);
|
||||
|
Loading…
Reference in New Issue
Block a user