Reduce the times for this loop

After the modification, I think the loop will break if pxLeniency is large enough.
This commit is contained in:
SunAriesCN
2016-03-08 21:26:26 +08:00
parent 515ec50469
commit a0ecb72232

View File

@@ -308,7 +308,7 @@ namespace alpr
{
vector<Rect> validBoxes;
int pxLeniency = 0;
int pxLeniency = row;
vector<Rect> allBoxes = convert1DHitsToRect(histogram.get1DHits(pxLeniency), top, bottom);
if (this->config->debugCharSegmenter)