mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 20:12:45 +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;
|
||||
permutations.pop();
|
||||
|
||||
if (allPossibilities.size() >= topn || consecutiveNonMatches >= 10)
|
||||
if (allPossibilities.size() >= topn || consecutiveNonMatches >= (topn*2))
|
||||
break;
|
||||
|
||||
// add child permutations to queue
|
||||
|
Reference in New Issue
Block a user