offlinemot.core.track_objs
- offlinemot.core.track_objs(frame, frame_id, objects)[source]
Perfrom tracking on every object in the frame
- Parameters
frame (numpy array) – The input image to track the objects within
frame_id (int) – The order of the frame in the video
objects (list) – list of the current traffic object under tracking to check where they moved in the frame.
- Returns
a list of the traffic object classes with updated postions according to the tracking result.
- Return type
list