Use line index rather than char region count to be more explicit

This commit is contained in:
Matt Hill
2016-07-03 16:08:21 -04:00
parent 5eaa67749b
commit 0ba1cd7a37

View File

@@ -43,7 +43,7 @@ namespace alpr
int absolute_charpos = 0;
for (unsigned int line_idx = 0; line_idx < pipeline_data->charRegions.size(); line_idx++)
for (unsigned int line_idx = 0; line_idx < pipeline_data->textLines.size(); line_idx++)
{
std::vector<OcrChar> chars = recognize_line(line_idx, pipeline_data);