1use image::GrayImage;
2use crate::ScanResult;
3use anyhow::Result;
45pub trait Detector {
6/// Detects the exam area in the image and returns the result.
7 /// `image` is the grayscale version of the input.
8fn detect(&self, image: &GrayImage) -> Result<ScanResult>;
9}