pub struct DeepOcSortParams {
pub common: CommonParams,
pub iou_threshold: f32,
pub delta_t: usize,
pub inertia: f32,
pub appearance_weight: f32,
pub max_cosine_distance: f32,
pub nn_budget: usize,
}Expand description
Settings for DeepOcSort.
Shared lifecycle fields live in CommonParams; the rest are Deep OC-SORT
specific. This is OC-SORT plus an appearance term, so it carries the OC-SORT
motion fields and the Re-ID fields together. Build it with
DeepOcSortParams::default.
Fields§
§common: CommonParamsShared lifecycle settings, max_age and min_hits.
iou_threshold: f32Smallest IoU overlap that still counts as the same object. This is a minimum IoU, so higher is stricter.
delta_t: usizeHow many frames back the tracker looks to estimate an object’s direction of travel from its real past positions. Larger is steadier but slower to react to turns.
inertia: f32How strongly a track’s recent direction of travel is trusted when matching, in the range zero to one. Zero turns the direction term off.
appearance_weight: f32How much the appearance match counts against the motion match when scoring a pair, in the range zero to one. Zero ignores appearance and falls back to plain OC-SORT; higher leans on Re-ID to hold ids through occlusion.
max_cosine_distance: f32How different two appearance embeddings may be and still count as the same object, as cosine distance. Lower demands a closer appearance match.
nn_budget: usizeHow many past appearance embeddings to keep per track for Re-ID. When the gallery is full the oldest is dropped.
Trait Implementations§
Source§impl Clone for DeepOcSortParams
impl Clone for DeepOcSortParams
Source§fn clone(&self) -> DeepOcSortParams
fn clone(&self) -> DeepOcSortParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DeepOcSortParams
Source§impl Debug for DeepOcSortParams
impl Debug for DeepOcSortParams
Source§impl Default for DeepOcSortParams
impl Default for DeepOcSortParams
Source§impl PartialEq for DeepOcSortParams
impl PartialEq for DeepOcSortParams
impl StructuralPartialEq for DeepOcSortParams
Auto Trait Implementations§
impl Freeze for DeepOcSortParams
impl RefUnwindSafe for DeepOcSortParams
impl Send for DeepOcSortParams
impl Sync for DeepOcSortParams
impl Unpin for DeepOcSortParams
impl UnsafeUnpin for DeepOcSortParams
impl UnwindSafe for DeepOcSortParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.