mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-25 20:02:34 +00:00
chore: clippy cleanup
This commit is contained in:
@@ -1317,7 +1317,7 @@ pub fn SampleRMQR(image: &BitMatrix, fp: ConcentricPattern) -> Result<QRCodeDete
|
|||||||
if let Some(spQuad) = FindConcentricPatternCorners(image, found, fp.size / 2, 1) {
|
if let Some(spQuad) = FindConcentricPatternCorners(image, found, fp.size / 2, 1) {
|
||||||
// if (auto spQuad = FindConcentricPatternCorners(image, *found, fp.size / 2, 1)) {
|
// if (auto spQuad = FindConcentricPatternCorners(image, *found, fp.size / 2, 1)) {
|
||||||
let mut dest = intersectQuads(&fpQuad, &spQuad)?;
|
let mut dest = intersectQuads(&fpQuad, &spQuad)?;
|
||||||
if (dim.y <= 9) {
|
if dim.y <= 9 {
|
||||||
bestPT = PerspectiveTransform::quadrilateralToQuadrilateral(
|
bestPT = PerspectiveTransform::quadrilateralToQuadrilateral(
|
||||||
Quadrilateral::from([
|
Quadrilateral::from([
|
||||||
point(6.5, 0.5),
|
point(6.5, 0.5),
|
||||||
|
|||||||
Reference in New Issue
Block a user