mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Change order of result points to be consistent with QR / DM: from bottom-left, clockwise
git-svn-id: https://zxing.googlecode.com/svn/trunk@1886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
ecd6a7d77d
commit
e669aab2af
|
@ -109,8 +109,8 @@ public final class Detector {
|
||||||
// Deskew and sample image.
|
// Deskew and sample image.
|
||||||
BitMatrix bits = sampleGrid(matrix, vertices[4], vertices[5],
|
BitMatrix bits = sampleGrid(matrix, vertices[4], vertices[5],
|
||||||
vertices[6], vertices[7], dimension);
|
vertices[6], vertices[7], dimension);
|
||||||
return new DetectorResult(bits, new ResultPoint[]{vertices[4],
|
return new DetectorResult(bits, new ResultPoint[]{vertices[5],
|
||||||
vertices[5], vertices[6], vertices[7]});
|
vertices[4], vertices[6], vertices[7]});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue