mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 19:12:47 +08:00
Replaced "uint" (platform specific) with "unsigned int" (universal)
This commit is contained in:
@@ -62,7 +62,7 @@ namespace alpr
|
||||
if (pipeline_data->charRegions.size() < config->postProcessMinCharacters)
|
||||
return;
|
||||
|
||||
for (uint i = 0; i < pipeline_data->thresholds.size(); i++)
|
||||
for (unsigned int i = 0; i < pipeline_data->thresholds.size(); i++)
|
||||
{
|
||||
// Make it black text on white background
|
||||
bitwise_not(pipeline_data->thresholds[i], pipeline_data->thresholds[i]);
|
||||
@@ -70,7 +70,7 @@ namespace alpr
|
||||
pipeline_data->thresholds[i].size().width, pipeline_data->thresholds[i].size().height,
|
||||
pipeline_data->thresholds[i].channels(), pipeline_data->thresholds[i].step1());
|
||||
|
||||
for (uint j = 0; j < pipeline_data->charRegions.size(); j++)
|
||||
for (unsigned int j = 0; j < pipeline_data->charRegions.size(); j++)
|
||||
{
|
||||
Rect expandedRegion = expandRect( pipeline_data->charRegions[j], 2, 2, pipeline_data->thresholds[i].cols, pipeline_data->thresholds[i].rows) ;
|
||||
|
||||
|
Reference in New Issue
Block a user