From 5f02b699c3ad96f2b08d48217d33d22c787a6cae Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 1 Oct 2015 20:17:20 -0400 Subject: [PATCH] Fixed issue with must_match_pattern not returning enough values --- src/openalpr/postprocess/postprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openalpr/postprocess/postprocess.cpp b/src/openalpr/postprocess/postprocess.cpp index df90399..b5768d0 100644 --- a/src/openalpr/postprocess/postprocess.cpp +++ b/src/openalpr/postprocess/postprocess.cpp @@ -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