norfair
norfair copied to clipboard
Absolute paths drawing with centroids
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()],
]
)