offlinemot.post_process.find_cntrs

offlinemot.post_process.find_cntrs(boxes)[source]

Get the centers of the list of boxes in the input.

Parameters

boxes (list) – The list of the boxes where each box is [x,y,width,height] where x,y is the coordinates of the top-left point

Returns

Centers of each box where each row is a list of two float numbers (x,y).

Return type

list