norfair icon indicating copy to clipboard operation
norfair copied to clipboard

Absolute paths drawing with centroids

Open DiegoFernandezC opened this issue 3 years ago • 0 comments

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()],
                ]
            )

DiegoFernandezC avatar Sep 22 '22 14:09 DiegoFernandezC