#[repr(C)]pub struct EfMergeConfig {
pub metric: u32,
pub threshold: f32,
pub class_agnostic: c_int,
pub max_det: usize,
pub score_threshold: f32,
}Expand description
How overlapping detections from neighbouring tiles are merged.
Fields§
§metric: u320 = IoU, 1 = Intersection-over-Smaller.
IoS is the default for a reason: an object split across a tile seam has low IoU with its own fragment but high IoS, so IoU would keep both halves as separate detections.
threshold: f32§class_agnostic: c_intNon-zero to merge across classes.
max_det: usize§score_threshold: f32Trait Implementations§
Source§impl Clone for EfMergeConfig
impl Clone for EfMergeConfig
Source§fn clone(&self) -> EfMergeConfig
fn clone(&self) -> EfMergeConfig
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 EfMergeConfig
Auto Trait Implementations§
impl Freeze for EfMergeConfig
impl RefUnwindSafe for EfMergeConfig
impl Send for EfMergeConfig
impl Sync for EfMergeConfig
impl Unpin for EfMergeConfig
impl UnsafeUnpin for EfMergeConfig
impl UnwindSafe for EfMergeConfig
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