mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-09-27 10:02:09 +08:00
Merge pull request #907 from nhochdrei/tesseract_crash_fix
tesseract crash fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user