offlinemot.objects_classes.TrafficObj.get_detection_format

TrafficObj.get_detection_format()[source]

Get the bounding box in (top-left point, bottom-right point) format and add class_id and dummy probabilty to get a similar format to the output of Yolo