mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 05:00:54 +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)
|
if (this->config->debugCharSegmenter)
|
||||||
cout << "All Boxes size " << allBoxes.size() << endl;
|
cout << "All Boxes size " << allBoxes.size() << endl;
|
||||||
|
|
||||||
if (allBoxes.size() == 0)
|
if (allBoxes.size() < config->postProcessMinCharacters)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
float rowScore = 0;
|
float rowScore = 0;
|
||||||
|
Reference in New Issue
Block a user