mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 23:32:54 +08:00
Added debug output for multiline plates
This commit is contained in:
@@ -194,7 +194,11 @@ namespace alpr
|
|||||||
|
|
||||||
// If a multiline plate has only one line, disqualify
|
// If a multiline plate has only one line, disqualify
|
||||||
if (pipeline_data->isMultiline && pipeline_data->textLines.size() < 2)
|
if (pipeline_data->isMultiline && pipeline_data->textLines.size() < 2)
|
||||||
|
{
|
||||||
|
if (config->debugCharAnalysis)
|
||||||
|
std::cout << "Did not detect multiple lines on multi-line plate" << std::endl;
|
||||||
confidenceDrainers += 95;
|
confidenceDrainers += 95;
|
||||||
|
}
|
||||||
|
|
||||||
if (confidenceDrainers >= 100)
|
if (confidenceDrainers >= 100)
|
||||||
this->confidence=1;
|
this->confidence=1;
|
||||||
|
Reference in New Issue
Block a user