offlinemot.objects_classes.TrafficObj.track

TrafficObj.track(new_frame, frame_id)[source]

Track the object in the new frame, save the result, and update the true size

Parameters
  • new_frame (numpy array) – The frame to do the tracking in

  • frame_id (int) – The current frame order in the video