mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 08:51:09 +08:00
Split up the plate mask code into its own class
This commit is contained in:
@@ -56,7 +56,9 @@ void LicensePlateCandidate::recognize()
|
||||
{
|
||||
PlateLines plateLines(config);
|
||||
|
||||
plateLines.processImage(pipeline_data->plate_mask, &charRegion, 1.10);
|
||||
if (pipeline_data->hasPlateBorder)
|
||||
plateLines.processImage(pipeline_data->plateBorderMask, &charRegion, 1.10);
|
||||
|
||||
plateLines.processImage(pipeline_data->crop_gray, &charRegion, 0.9);
|
||||
|
||||
PlateCorners cornerFinder(pipeline_data->crop_gray, &plateLines, &charRegion, config);
|
||||
|
Reference in New Issue
Block a user