update to 0.4.8

This commit is contained in:
Henry Schimke
2023-07-13 11:54:15 -05:00
parent 163bbd8576
commit bcb97f639e
23 changed files with 73 additions and 91 deletions

View File

@@ -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),

View File

@@ -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),