opencv::prelude

Trait BOWKMeansTrainerTraitConst

Source
pub trait BOWKMeansTrainerTraitConst: BOWTrainerTraitConst {
    // Required method
    fn as_raw_BOWKMeansTrainer(&self) -> *const c_void;

    // Provided methods
    fn cluster(&self) -> Result<Mat> { ... }
    fn cluster_with_descriptor(
        &self,
        descriptors: &impl MatTraitConst,
    ) -> Result<Mat> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn cluster(&self) -> Result<Mat>

Source

fn cluster_with_descriptor( &self, descriptors: &impl MatTraitConst, ) -> Result<Mat>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§