Trait MACETraitConst

Source
pub trait MACETraitConst: AlgorithmTraitConst {
    // Required method
    fn as_raw_MACE(&self) -> *const c_void;

    // Provided method
    fn same(&self, query: &impl ToInputArray) -> Result<bool> { ... }
}
Expand description

Constant methods for crate::face::MACE

Required Methods§

Provided Methods§

Source

fn same(&self, query: &impl ToInputArray) -> Result<bool>

correlate query img and threshold to min class value

§Parameters
  • query: a Mat with query image

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§