offlinemot.objects_classes.TrafficObj.draw

TrafficObj.draw(new_frame)[source]

Draw the current box position with color code and track ID on the frame

Parameters

new_frame (numpy array) – The current frame to draw the object in

Returns

The new frame that should be shown with the object data drawn in it.

Return type

numpy array