Skip to main content

DeepFeatureExtractor

Trait DeepFeatureExtractor 

Source
pub trait DeepFeatureExtractor {
    type Image;
    type Error;

    // Required method
    fn extract_deep(
        &self,
        image: &Self::Image,
    ) -> Result<DeepFeatureSet, Self::Error>;
}
Expand description

Deep-style frontend trait: produces keypoints with per-feature scores and unit-norm descriptors. Mirrors the output contract of SuperPoint/DISK so an ONNX-backed implementation can drop in later without touching consumers.

Required Associated Types§

Required Methods§

Source

fn extract_deep( &self, image: &Self::Image, ) -> Result<DeepFeatureSet, Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§