Removed unused confidence values and replaced with a disqualify boolean

The disqualify reason is purely for debugging.  This should help make it obvious why a plate candidate was rejected
This commit is contained in:
Matt Hill
2015-07-04 19:30:29 -04:00
parent be81d3ed46
commit 7a78d4a214
11 changed files with 38 additions and 24 deletions

View File

@@ -152,7 +152,7 @@ namespace alpr
lp.recognize();
bool plateDetected = false;
if (pipeline_data.plate_area_confidence > 10)
if (!pipeline_data.disqualified)
{
AlprPlateResult plateResult;
plateResult.region = defaultRegion;