slight efficiency improvement. Exiting loop when below min chars rather than 0

This commit is contained in:
Matt Hill
2016-03-13 15:40:08 -04:00
parent d4e8b8116b
commit cced283f1e

View File

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