We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73b2898 commit 0fd4134Copy full SHA for 0fd4134
ccmain/docqual.cpp
@@ -99,8 +99,11 @@ void Tesseract::word_char_quality(WERD_RES *word,
99
inT16 *match_count,
100
inT16 *accepted_match_count) {
101
if (word->bln_boxes == NULL ||
102
- word->rebuild_word == NULL || word->rebuild_word->blobs.empty())
+ word->rebuild_word == NULL || word->rebuild_word->blobs.empty()) {
103
+ *match_count = 0;
104
+ *accepted_match_count = 0;
105
return;
106
+ }
107
108
DocQualCallbacks cb(word);
109
word->bln_boxes->ProcessMatchedBlobs(
0 commit comments