pub trait HOGConst: AlgorithmTraitConst {
Show 13 methods // Required method fn as_raw_HOG(&self) -> *const c_void; // Provided methods fn get_win_sigma(&self) -> Result<f64> { ... } fn get_l2_hys_threshold(&self) -> Result<f64> { ... } fn get_gamma_correction(&self) -> Result<bool> { ... } fn get_num_levels(&self) -> Result<i32> { ... } fn get_hit_threshold(&self) -> Result<f64> { ... } fn get_win_stride(&self) -> Result<Size> { ... } fn get_scale_factor(&self) -> Result<f64> { ... } fn get_group_threshold(&self) -> Result<i32> { ... } fn get_descriptor_format( &self ) -> Result<HOGDescriptor_DescriptorStorageFormat> { ... } fn get_descriptor_size(&self) -> Result<size_t> { ... } fn get_block_histogram_size(&self) -> Result<size_t> { ... } fn get_default_people_detector(&self) -> Result<Mat> { ... }
}
Expand description

Constant methods for crate::cudaobjdetect::HOG

Required Methods§

Provided Methods§

source

fn get_win_sigma(&self) -> Result<f64>

source

fn get_l2_hys_threshold(&self) -> Result<f64>

source

fn get_gamma_correction(&self) -> Result<bool>

source

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

source

fn get_hit_threshold(&self) -> Result<f64>

source

fn get_win_stride(&self) -> Result<Size>

source

fn get_scale_factor(&self) -> Result<f64>

source

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

source

fn get_descriptor_format(&self) -> Result<HOGDescriptor_DescriptorStorageFormat>

source

fn get_descriptor_size(&self) -> Result<size_t>

Returns the number of coefficients required for the classification.

source

fn get_block_histogram_size(&self) -> Result<size_t>

Returns the block histogram size.

source

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

Returns coefficients of the classifier trained for people detection.

Implementors§

source§

impl HOGConst for Ptr<dyn HOG>