mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 00:02:52 +08:00
Fixed compiler warnings (signed/unsigned comparisons, unused variables)
This commit is contained in:
@@ -83,7 +83,7 @@ void LicensePlateCandidate::recognize()
|
||||
vector<Point2f> LicensePlateCandidate::transformPointsToOriginalImage(Mat bigImage, Mat smallImage, Rect region, vector<Point> corners)
|
||||
{
|
||||
vector<Point2f> cornerPoints;
|
||||
for (int i = 0; i < corners.size(); i++)
|
||||
for (uint i = 0; i < corners.size(); i++)
|
||||
{
|
||||
float bigX = (corners[i].x * ((float) region.width / smallImage.cols));
|
||||
float bigY = (corners[i].y * ((float) region.height / smallImage.rows));
|
||||
|
Reference in New Issue
Block a user