mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 05:16:51 +08:00
Fixes issue #183
This commit is contained in:
@@ -328,7 +328,7 @@ bool detectandshow( Alpr* alpr, cv::Mat frame, std::string region, bool writeJso
|
||||
for (int k = 0; k < results.plates[i].topNPlates.size(); k++)
|
||||
{
|
||||
std::cout << " - " << results.plates[i].topNPlates[k].characters << "\t confidence: " << results.plates[i].topNPlates[k].overall_confidence;
|
||||
if (results.plates[i].regionConfidence > 0)
|
||||
if (templatePattern.size() > 0 || results.plates[i].regionConfidence > 0)
|
||||
std::cout << "\t pattern_match: " << results.plates[i].topNPlates[k].matches_template;
|
||||
|
||||
std::cout << std::endl;
|
||||
|
Reference in New Issue
Block a user