oa::vision::NmsConfig

Deterministic non-maximum-suppression policy.

StRust public API

Declaration

pub struct NmsConfig { pub iou_threshold: f32, pub score_threshold: f32, pub max_detections: i32, pub class_agnostic: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> NmsConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &NmsConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

iou_thresholdf32field
score_thresholdf32field
max_detectionsi32field
class_agnosticboolfield

Public Method Documentation

fn clone( &self ) -> NmsConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &NmsConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.