mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 16:27:07 +08:00
fixed parallel line being added in wrong direction
This commit is contained in:
@@ -274,7 +274,7 @@ namespace alpr
|
|||||||
else if (h1 != NO_LINE && h2 == NO_LINE)
|
else if (h1 != NO_LINE && h2 == NO_LINE)
|
||||||
{
|
{
|
||||||
top = this->plateLines->horizontalLines[h1].line;
|
top = this->plateLines->horizontalLines[h1].line;
|
||||||
bottom = top.getParallelLine(-1 * idealPixelHeight + extra_vertical_pixels);
|
bottom = top.getParallelLine(-1 * idealPixelHeight - extra_vertical_pixels);
|
||||||
missingSegmentPenalty++;
|
missingSegmentPenalty++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user