pub trait HOGConst: AlgorithmTraitConst {
Show 13 methods fn as_raw_HOG(&self) -> *const c_void; 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§

Returns the number of coefficients required for the classification.

Returns the block histogram size.

Returns coefficients of the classifier trained for people detection.

Implementors§