Skip to content

Commit

Permalink
Update src/textord/tordmain.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Weil <[email protected]>
  • Loading branch information
sadra-barikbin and stweil authored Apr 25, 2024
1 parent f83fe8f commit b24291a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textord/tordmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ bool Textord::clean_noise_from_row( // remove empties
}
}
}
bool rejected = dot_count > norm_count * textord_noise_normratio && \
dot_count > 2 && \
bool rejected = dot_count > norm_count * textord_noise_normratio &&
dot_count > 2 &&
super_norm_count < textord_noise_sncount;
if (textord_noise_debug) {
tprintf("Row ending at (%d,%g):", blob_box.right(), row->base_line(blob_box.right()));
Expand Down

0 comments on commit b24291a

Please sign in to comment.