Trait opencv::hub_prelude::EdgeBoxes
source · [−]pub trait EdgeBoxes: AlgorithmTrait + EdgeBoxesConst {
Show 14 methods
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void;
fn get_bounding_boxes(
&mut self,
edge_map: &dyn ToInputArray,
orientation_map: &dyn ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut dyn ToOutputArray
) -> Result<()> { ... }
fn set_alpha(&mut self, value: f32) -> Result<()> { ... }
fn set_beta(&mut self, value: f32) -> Result<()> { ... }
fn set_eta(&mut self, value: f32) -> Result<()> { ... }
fn set_min_score(&mut self, value: f32) -> Result<()> { ... }
fn set_max_boxes(&mut self, value: i32) -> Result<()> { ... }
fn set_edge_min_mag(&mut self, value: f32) -> Result<()> { ... }
fn set_edge_merge_thr(&mut self, value: f32) -> Result<()> { ... }
fn set_cluster_min_mag(&mut self, value: f32) -> Result<()> { ... }
fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()> { ... }
fn set_min_box_area(&mut self, value: f32) -> Result<()> { ... }
fn set_gamma(&mut self, value: f32) -> Result<()> { ... }
fn set_kappa(&mut self, value: f32) -> Result<()> { ... }
}
Required Methods
source
fn as_raw_mut_EdgeBoxes(&mut self) -> *mut c_void
Provided Methods
sourcefn get_bounding_boxes(
&mut self,
edge_map: &dyn ToInputArray,
orientation_map: &dyn ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut dyn ToOutputArray
) -> Result<()>
fn get_bounding_boxes(
&mut self,
edge_map: &dyn ToInputArray,
orientation_map: &dyn ToInputArray,
boxes: &mut Vector<Rect>,
scores: &mut dyn ToOutputArray
) -> Result<()>
Returns array containing proposal boxes.
Parameters
- edge_map: edge image.
- orientation_map: orientation map.
- boxes: proposal boxes.
- scores: of the proposal boxes, provided a vector of float types.
C++ default parameters
- scores: noArray()
sourcefn set_min_score(&mut self, value: f32) -> Result<()>
fn set_min_score(&mut self, value: f32) -> Result<()>
Sets the min score of boxes to detect.
sourcefn set_max_boxes(&mut self, value: i32) -> Result<()>
fn set_max_boxes(&mut self, value: i32) -> Result<()>
Sets max number of boxes to detect.
sourcefn set_edge_min_mag(&mut self, value: f32) -> Result<()>
fn set_edge_min_mag(&mut self, value: f32) -> Result<()>
Sets the edge min magnitude.
sourcefn set_edge_merge_thr(&mut self, value: f32) -> Result<()>
fn set_edge_merge_thr(&mut self, value: f32) -> Result<()>
Sets the edge merge threshold.
sourcefn set_cluster_min_mag(&mut self, value: f32) -> Result<()>
fn set_cluster_min_mag(&mut self, value: f32) -> Result<()>
Sets the cluster min magnitude.
sourcefn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>
fn set_max_aspect_ratio(&mut self, value: f32) -> Result<()>
Sets the max aspect ratio of boxes.
sourcefn set_min_box_area(&mut self, value: f32) -> Result<()>
fn set_min_box_area(&mut self, value: f32) -> Result<()>
Sets the minimum area of boxes.