Trait BOWImgDescriptorExtractorTraitConst

Source
pub trait BOWImgDescriptorExtractorTraitConst {
    // Required method
    fn as_raw_BOWImgDescriptorExtractor(&self) -> *const c_void;

    // Provided methods
    fn get_vocabulary(&self) -> Result<Mat> { ... }
    fn descriptor_size(&self) -> Result<i32> { ... }
    fn descriptor_type(&self) -> Result<i32> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

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

Returns the set vocabulary.

Source

fn descriptor_size(&self) -> Result<i32>

Returns an image descriptor size if the vocabulary is set. Otherwise, it returns 0.

Source

fn descriptor_type(&self) -> Result<i32>

Returns an image descriptor type.

Implementors§