Trait EdgeBoxesTraitConst

Source
pub trait EdgeBoxesTraitConst: AlgorithmTraitConst {
Show 13 methods // Required method fn as_raw_EdgeBoxes(&self) -> *const c_void; // Provided methods fn get_alpha(&self) -> Result<f32> { ... } fn get_beta(&self) -> Result<f32> { ... } fn get_eta(&self) -> Result<f32> { ... } fn get_min_score(&self) -> Result<f32> { ... } fn get_max_boxes(&self) -> Result<i32> { ... } fn get_edge_min_mag(&self) -> Result<f32> { ... } fn get_edge_merge_thr(&self) -> Result<f32> { ... } fn get_cluster_min_mag(&self) -> Result<f32> { ... } fn get_max_aspect_ratio(&self) -> Result<f32> { ... } fn get_min_box_area(&self) -> Result<f32> { ... } fn get_gamma(&self) -> Result<f32> { ... } fn get_kappa(&self) -> Result<f32> { ... }
}
Expand description

Constant methods for crate::ximgproc::EdgeBoxes

Required Methods§

Provided Methods§

Source

fn get_alpha(&self) -> Result<f32>

Returns the step size of sliding window search.

Source

fn get_beta(&self) -> Result<f32>

Returns the nms threshold for object proposals.

Source

fn get_eta(&self) -> Result<f32>

Returns adaptation rate for nms threshold.

Source

fn get_min_score(&self) -> Result<f32>

Returns the min score of boxes to detect.

Source

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

Returns the max number of boxes to detect.

Source

fn get_edge_min_mag(&self) -> Result<f32>

Returns the edge min magnitude.

Source

fn get_edge_merge_thr(&self) -> Result<f32>

Returns the edge merge threshold.

Source

fn get_cluster_min_mag(&self) -> Result<f32>

Returns the cluster min magnitude.

Source

fn get_max_aspect_ratio(&self) -> Result<f32>

Returns the max aspect ratio of boxes.

Source

fn get_min_box_area(&self) -> Result<f32>

Returns the minimum area of boxes.

Source

fn get_gamma(&self) -> Result<f32>

Returns the affinity sensitivity.

Source

fn get_kappa(&self) -> Result<f32>

Returns the scale sensitivity.

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§