[][src]Function opencv::ximgproc::create_edge_boxes

pub fn create_edge_boxes(
    alpha: f32,
    beta: f32,
    eta: f32,
    min_score: f32,
    max_boxes: i32,
    edge_min_mag: f32,
    edge_merge_thr: f32,
    cluster_min_mag: f32,
    max_aspect_ratio: f32,
    min_box_area: f32,
    gamma: f32,
    kappa: f32
) -> Result<Ptr<dyn EdgeBoxes>>

Creates a Edgeboxes

Parameters

  • alpha: step size of sliding window search.
  • beta: nms threshold for object proposals.
  • eta: adaptation rate for nms threshold.
  • minScore: min score of boxes to detect.
  • maxBoxes: max number of boxes to detect.
  • edgeMinMag: edge min magnitude. Increase to trade off accuracy for speed.
  • edgeMergeThr: edge merge threshold. Increase to trade off accuracy for speed.
  • clusterMinMag: cluster min magnitude. Increase to trade off accuracy for speed.
  • maxAspectRatio: max aspect ratio of boxes.
  • minBoxArea: minimum area of boxes.
  • gamma: affinity sensitivity.
  • kappa: scale sensitivity.

C++ default parameters

  • alpha: 0.65f
  • beta: 0.75f
  • eta: 1
  • min_score: 0.01f
  • max_boxes: 10000
  • edge_min_mag: 0.1f
  • edge_merge_thr: 0.5f
  • cluster_min_mag: 0.5f
  • max_aspect_ratio: 3
  • min_box_area: 1000
  • gamma: 2
  • kappa: 1.5f