Merge pull request #907 from nhochdrei/tesseract_crash_fix

tesseract crash fix
This commit is contained in:
Matthew Hill
2020-07-30 16:47:33 -04:00
committed by GitHub

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);