mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 01:52:45 +08:00
slight efficiency improvement. Exiting loop when below min chars rather than 0
This commit is contained in:
@@ -314,7 +314,7 @@ namespace alpr
|
||||
if (this->config->debugCharSegmenter)
|
||||
cout << "All Boxes size " << allBoxes.size() << endl;
|
||||
|
||||
if (allBoxes.size() == 0)
|
||||
if (allBoxes.size() < config->postProcessMinCharacters)
|
||||
break;
|
||||
|
||||
float rowScore = 0;
|
||||
|
Reference in New Issue
Block a user