offlinemot.post_process.tracks_angels

offlinemot.post_process.tracks_angels(track)[source]

Find the orientation of point that lead to the next one in the track input.

The last orientation is repated to set orientation to the last point.

Parameters

tracks (list) – The track list of 2D points, representing the centers of the tracked target

Returns

a list of angels in degrees related to each point in the track in the same order.

Return type

list