Module traits
Quick Reference
| Item | Kind | Description |
|---|---|---|
AppearanceExtractor |
trait | Trait for extracting appearance features (embeddings) from images. |
Traits
AppearanceExtractor
Trait for extracting appearance features (embeddings) from images.
This allows decoupling the tracker logic (DeepSORT) from the model execution (ONNX, PyTorch via Python, etc.).
Required Methods
fn extract(&mut self, image: &DynamicImage, bboxes: &[BoundingBox]) -> Result<Vec<Vec<f32>>, Box<dyn Error>>
Extract features for a list of bounding boxes from a given image.