pub trait Feature: Debug {
    // Required method
    fn extract(&self, image: &DynamicImage) -> Result<Vec<f32>, String>;
}
Expand description

Trait for feature descriptors that can be extracted from images

Required Methods§

source

fn extract(&self, image: &DynamicImage) -> Result<Vec<f32>, String>

Extracts the feature descriptor from the given image

Implementors§