mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-12-24 13:57:55 +08:00
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