mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
update to 0.4.8
This commit is contained in:
@@ -333,7 +333,7 @@ impl<'a> Detector<'_> {
|
||||
dimensionX: u32,
|
||||
dimensionY: u32,
|
||||
) -> Result<BitMatrix> {
|
||||
let sampler = DefaultGridSampler::default();
|
||||
let sampler = DefaultGridSampler;
|
||||
|
||||
let dst = Quadrilateral::new(
|
||||
point_f(0.5, 0.5),
|
||||
|
||||
@@ -214,7 +214,7 @@ fn Scan(
|
||||
movedTowardsBy(bl, tl, br, 0.5),
|
||||
);
|
||||
|
||||
let grid_sampler = DefaultGridSampler::default();
|
||||
let grid_sampler = DefaultGridSampler;
|
||||
// let transform = PerspectiveTransform::quadrilateralToQuadrilateral(x0, y0, x1, y1, x2, y2, x3, y3, x0p, y0p, x1p, y1p, x2p, y2p, x3p, y3p);
|
||||
let dst = Quadrilateral::new(
|
||||
point_f(0.0, 0.0),
|
||||
|
||||
Reference in New Issue
Block a user