mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 19:30:08 +08:00
Removed characterregion class.
This was just serving as a pass-through after recent changes
This commit is contained in:
@@ -51,9 +51,9 @@ void LicensePlateCandidate::recognize()
|
||||
resize(pipeline_data->crop_gray, pipeline_data->crop_gray, Size(config->templateWidthPx, config->templateHeightPx));
|
||||
|
||||
|
||||
CharacterRegion charRegion(pipeline_data);
|
||||
CharacterAnalysis textAnalysis(pipeline_data);
|
||||
|
||||
if (charRegion.confidence > 10)
|
||||
if (textAnalysis.confidence > 10)
|
||||
{
|
||||
PlateLines plateLines(pipeline_data);
|
||||
|
||||
@@ -119,7 +119,7 @@ void LicensePlateCandidate::recognize()
|
||||
|
||||
pipeline_data->plate_area_confidence = 100;
|
||||
}
|
||||
charRegion.confidence = 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user