Skip to main content

Detector

Trait Detector 

Source
pub trait Detector {
    // Required method
    fn detect(&self, image: &GrayImage) -> Result<ScanResult>;
}

Required Methods§

Source

fn detect(&self, image: &GrayImage) -> Result<ScanResult>

Detects the exam area in the image and returns the result. image is the grayscale version of the input.

Implementors§