Trait CUDA_HOGTraitConst

Source
pub trait CUDA_HOGTraitConst: AlgorithmTraitConst {
Show 13 methods // Required method fn as_raw_CUDA_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::CUDA_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.

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§