offlinemot.objects_classes.TrafficObj.set_track_id

TrafficObj.set_track_id(id_)[source]

set track id for the object once it has a detected class

Parameters

id_ (int) – The id to set for the object if it does not have one yet