1 2 3 4 5 6 7
use super::location::FaceLocations; use crate::matrix::ImageMatrix; pub trait FaceDetectorTrait { /// Detect face rectangles from an image. fn face_locations(&self, image: &ImageMatrix) -> FaceLocations; }