Skip to main content

detection_boxes

Function detection_boxes 

Source
pub fn detection_boxes(batch: &RecordBatch) -> Result<Vec<BoundingBox>>
Expand description

The boxes column of a Detections payload, without decoding the rest.

The shape a tracker wants: it needs the geometry every frame and the labels only when a track is born.

ยงErrors

DataError when the payload is not a Detections layout.