Struct opencv::objdetect::LatentSvmDetector [] [src]

pub struct LatentSvmDetector {
    pub ptr: *mut c_void,
}

Fields

ptr

Methods

impl LatentSvmDetector

fn as_raw_LatentSvmDetector(&self) -> *mut c_void

impl LatentSvmDetector

fn default() -> Result<LatentSvmDetector, String>

fn new(filenames: &VectorOfString, classNames: &VectorOfString) -> Result<LatentSvmDetector, String>

fault value for arguments: - classNames: default vector()

fn clear(&mut self) -> Result<(), String>

fn empty(&self) -> Result<bool, String>

fn load(&mut self, filenames: &VectorOfString, classNames: &VectorOfString) -> Result<bool, String>

fault value for arguments: - classNames: default vector()

fn detect(&mut self, image: &Mat, objectDetections: &VectorOfObjectDetection, overlapThreshold: f32, numThreads: i32) -> Result<(), String>

fault value for arguments: - overlapThreshold: default 0.5f - numThreads: default -1

fn get_class_names(&self) -> Result<VectorOfString, String>

fn get_class_count(&self) -> Result<size_t, String>

Trait Implementations

impl Drop for LatentSvmDetector

fn drop(&mut self)