mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 10:07:16 +08:00
Added comment to findOuterBoxMask
This commit is contained in:
@@ -39,6 +39,8 @@ namespace alpr
|
|||||||
return this->plateMask;
|
return this->plateMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tries to find a rectangular area surrounding most of the characters. Not required
|
||||||
|
// but helpful when determining the plate edges
|
||||||
void PlateMask::findOuterBoxMask( vector<TextContours > contours )
|
void PlateMask::findOuterBoxMask( vector<TextContours > contours )
|
||||||
{
|
{
|
||||||
double min_parent_area = pipeline_data->config->templateHeightPx * pipeline_data->config->templateWidthPx * 0.10; // Needs to be at least 10% of the plate area to be considered.
|
double min_parent_area = pipeline_data->config->templateHeightPx * pipeline_data->config->templateWidthPx * 0.10; // Needs to be at least 10% of the plate area to be considered.
|
||||||
|
Reference in New Issue
Block a user