mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 01:12:47 +08:00
Fixed issue with must_match_pattern not returning enough values
This commit is contained in:
@@ -310,7 +310,7 @@ namespace alpr
|
|||||||
consecutiveNonMatches += 1;
|
consecutiveNonMatches += 1;
|
||||||
permutations.pop();
|
permutations.pop();
|
||||||
|
|
||||||
if (allPossibilities.size() >= topn || consecutiveNonMatches >= 10)
|
if (allPossibilities.size() >= topn || consecutiveNonMatches >= (topn*2))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// add child permutations to queue
|
// add child permutations to queue
|
||||||
|
Reference in New Issue
Block a user