Avoid implicit downcast in corner detection (#219)

This commit is contained in:
Matt
2021-01-07 23:42:54 -08:00
committed by GitHub
parent f7e29a1992
commit b2d939b3b5

View File

@@ -174,7 +174,7 @@ public class CornerDetectionPipe
// and maximize their distance from the center of the min area rectangle
var leftList = new ArrayList<Point>();
var rightList = new ArrayList<Point>();
var averageXCoordinate = 0;
double averageXCoordinate = 0.0;
for (var p : pointList) {
averageXCoordinate += p.x;
}