symcode 0.1.0

Symbolic Barcode - Programming Library
Documentation
1
2
3
4
5
6
7
8
9
use visioncortex::{BoundingRect, PerspectiveTransform};

/// Given an array of finder candidates positions, evaluate the "correct" perspective transform that
/// maps the image space to the object space.
pub trait Fitter {
    fn fit(
    	&self, finder_positions: Vec<BoundingRect>, image_width: usize, image_height: usize
    ) -> Result<PerspectiveTransform, &str>;
}