Trait opencv::cudaobjdetect::prelude::HOGConst
source · 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§
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>
sourcefn get_descriptor_size(&self) -> Result<size_t>
fn get_descriptor_size(&self) -> Result<size_t>
Returns the number of coefficients required for the classification.
sourcefn get_block_histogram_size(&self) -> Result<size_t>
fn get_block_histogram_size(&self) -> Result<size_t>
Returns the block histogram size.
sourcefn get_default_people_detector(&self) -> Result<Mat>
fn get_default_people_detector(&self) -> Result<Mat>
Returns coefficients of the classifier trained for people detection.