pub fn summarize_ground_track(
object_id: u64,
class_id: u32,
observations: &[GroundObservation],
params: &GroundTrackParams,
) -> Option<GroundTrack>Expand description
Median size, and the velocity of the path, from at least three frames
spanning min_seconds.
The velocity is a straight line fitted by weighted least squares. Each
foot is weighted by how far it can be off: little across the ray, a lot
along it far away, where a pixel moves the foot by metres
(GroundTrackParams). A camera driving towards a still car that is
placed a few percent near at range would otherwise see it approach. Feet
far off the line (a 2D track that jumped to a neighbour) are dropped. If
the velocity does not stand out of the noise, the object is still.