mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 11:56:52 +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)
|
||||
{
|
||||
top = this->plateLines->horizontalLines[h1].line;
|
||||
bottom = top.getParallelLine(-1 * idealPixelHeight + extra_vertical_pixels);
|
||||
bottom = top.getParallelLine(-1 * idealPixelHeight - extra_vertical_pixels);
|
||||
missingSegmentPenalty++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user