pub struct DetectorDecodeConfig {
pub conf_thresh: f32,
pub nms_thresh: f32,
pub max_det: usize,
pub default_class: u16,
}Expand description
Thresholds for decode + NMS.
Fields§
§conf_thresh: f32Minimum confidence to keep a raw box.
nms_thresh: f32IoU threshold for class-aware hard NMS.
max_det: usizeMaximum detections after NMS.
default_class: u16Class used when the head has no class channel.
Trait Implementations§
Source§impl Clone for DetectorDecodeConfig
impl Clone for DetectorDecodeConfig
impl Copy for DetectorDecodeConfig
Source§impl Debug for DetectorDecodeConfig
impl Debug for DetectorDecodeConfig
Source§impl Default for DetectorDecodeConfig
impl Default for DetectorDecodeConfig
Source§impl PartialEq for DetectorDecodeConfig
impl PartialEq for DetectorDecodeConfig
impl StructuralPartialEq for DetectorDecodeConfig
Auto Trait Implementations§
impl Freeze for DetectorDecodeConfig
impl RefUnwindSafe for DetectorDecodeConfig
impl Send for DetectorDecodeConfig
impl Sync for DetectorDecodeConfig
impl Unpin for DetectorDecodeConfig
impl UnsafeUnpin for DetectorDecodeConfig
impl UnwindSafe for DetectorDecodeConfig
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