oa::vision::Detection
One GPU-consumable detection record, exactly 32 bytes. color_rgba is an optional per-instance display color in 0xRRGGBBAA; zero selects the overlay style fallback and preserves compatibility with older producers. track_id is a stable identity for trackers; rendering ignores it while postprocess and interaction code retain the same record layout across frames.
Declaration
#[repr(C)]pub struct Detection { pub center_x: f32, pub center_y: f32, pub width: f32, pub height: f32, pub confidence: f32, pub class_id: u32, pub color_rgba: u32, pub track_id: u32, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
center_xf32fieldcenter_yf32fieldwidthf32fieldheightf32fieldconfidencef32fieldclass_idu32fieldcolor_rgbau32fieldtrack_idu32fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.