pub struct DeepSortConfig {
pub max_cosine_distance: f32,
pub max_iou_distance: f32,
pub max_age: usize,
pub n_init: usize,
}Expand description
Configuration for the DeepSORT tracker.
Fields§
§max_cosine_distance: f32Maximum cosine distance for appearance matching.
max_iou_distance: f32Maximum IoU distance for fallback matching.
max_age: usizeNumber of frames to keep a track alive without detection.
n_init: usizeNumber of consecutive hits to confirm a track.
Trait Implementations§
Source§impl Clone for DeepSortConfig
impl Clone for DeepSortConfig
Source§fn clone(&self) -> DeepSortConfig
fn clone(&self) -> DeepSortConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeepSortConfig
impl Debug for DeepSortConfig
Auto Trait Implementations§
impl Freeze for DeepSortConfig
impl RefUnwindSafe for DeepSortConfig
impl Send for DeepSortConfig
impl Sync for DeepSortConfig
impl Unpin for DeepSortConfig
impl UnsafeUnpin for DeepSortConfig
impl UnwindSafe for DeepSortConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more