pub struct SoftNmsConfig {
pub threshold: f32,
pub sigma: f32,
pub score_threshold: f32,
pub method: SoftNmsMethod,
pub mode: NmsMode,
pub metric: OverlapMetric,
}Expand description
Soft-NMS configuration.
Fields§
§threshold: f32Overlap threshold for linear method (ignored by Gaussian except as 0 gate).
sigma: f32Gaussian sigma (> 0); used when method is Gaussian.
score_threshold: f32Minimum score after decay; detections below are dropped.
method: SoftNmsMethodDecay method.
mode: NmsModeClass comparison policy.
metric: OverlapMetricOverlap metric.
Trait Implementations§
Source§impl Clone for SoftNmsConfig
impl Clone for SoftNmsConfig
Source§fn clone(&self) -> SoftNmsConfig
fn clone(&self) -> SoftNmsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftNmsConfig
Source§impl Debug for SoftNmsConfig
impl Debug for SoftNmsConfig
Source§impl Default for SoftNmsConfig
impl Default for SoftNmsConfig
Source§impl PartialEq for SoftNmsConfig
impl PartialEq for SoftNmsConfig
impl StructuralPartialEq for SoftNmsConfig
Auto Trait Implementations§
impl Freeze for SoftNmsConfig
impl RefUnwindSafe for SoftNmsConfig
impl Send for SoftNmsConfig
impl Sync for SoftNmsConfig
impl Unpin for SoftNmsConfig
impl UnsafeUnpin for SoftNmsConfig
impl UnwindSafe for SoftNmsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more