offlinemot.objects_classes.TrafficObj.find_center

TrafficObj.find_center()[source]

Calculate the current center for the box. the output is integers

Returns

a tuple of the center x and y as rounded integers

Return type

tuple