Open dbxnr opened 7 years ago
The contour detection algorithm is very slightly imprecise, it's missing some rows/columns of border pixels making verification that it's a square a little awkward.
https://github.com/cripcate/imgprep/commit/ba528cd3d2e517e41a316a2ddacf9695b90c3dfa
Actually I'm not so sure about this now - perhaps the red border itself isn't a perfect square?
The contour detection algorithm is very slightly imprecise, it's missing some rows/columns of border pixels making verification that it's a square a little awkward.
https://github.com/cripcate/imgprep/commit/ba528cd3d2e517e41a316a2ddacf9695b90c3dfa