tesseract crash fix

This commit is contained in:
Julius Hartung
2020-07-22 14:31:38 +02:00
parent 3868953867
commit 6ab6ea299c

View File

@@ -86,6 +86,8 @@ namespace alpr
tesseract::PageIteratorLevel level = tesseract::RIL_SYMBOL;
do
{
if (ri->Empty(level)) continue;
const char* symbol = ri->GetUTF8Text(level);
float conf = ri->Confidence(level);