1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Alternative solution for QR code black/white balance computation.

This commit is contained in:
Alexander Smorkalov
2024-02-12 20:41:40 +03:00
parent 82914e442c
commit 0424ba57d7
2 changed files with 21 additions and 1 deletions
+4 -1
View File
@@ -3070,7 +3070,10 @@ protected:
{
bool operator()(const Point2f& a, const Point2f& b) const
{
return a.y < b.y;
if (a.y != b.y)
return a.y < b.y;
else
return a.x < b.x;
}
};
struct compareSquare