Closed DiegoFernandezC closed 2 years ago
We only allow drawing the absolute paths of bounding boxes.
To draw an absolute path with centroids points I need to do a trick simulating a bounding box duplicating the centroid coordinate.
Example:
centroid = np.array( [ [detection_as_xywh[0].item(), detection_as_xywh[1].item()], [detection_as_xywh[0].item(), detection_as_xywh[1].item()], ] )
We only allow drawing the absolute paths of bounding boxes.
To draw an absolute path with centroids points I need to do a trick simulating a bounding box duplicating the centroid coordinate.
Example: