mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 00:02:52 +08:00
Fixed a crash on multiline plates when no line is found
This commit is contained in:
@@ -62,7 +62,7 @@ namespace alpr
|
||||
if (bestLine.size() > 0)
|
||||
linesFound.push_back(bestLine);
|
||||
|
||||
if (pipeline_data->isMultiline)
|
||||
if (pipeline_data->isMultiline && bestCharArea.size() > 0)
|
||||
{
|
||||
|
||||
vector<Point> next_best_line = findNextBestLine(Size(contours.width, contours.height), bestCharArea);
|
||||
|
Reference in New Issue
Block a user