offlinemot.post_process.repair_traj
- offlinemot.post_process.repair_traj(obj)[source]
Perfrom linear interpolation for a track with missing steps (where there’s no detection or tracking).
- Parameters
obj (TrafficObj instance) – The traffic object instance whose track should be interpolated
- Returns
a list of the object center coordinates, where the missing postions are interpolated lineary using the surrounding positions
- Return type
list