draw.btm_midpoint

Description

Draws the bottom middle point of a bounding box.

class Node(config=None, **kwargs)[source]

The draw.btm_midpoint node uses bboxes from the model predictions to draw the bottom midpoint of each bbox as a dot onto the image. For better understanding of the use case, refer to the Zone Counting use case.

Inputs

img (numpy.ndarray): A NumPy array of shape \((height, width, channels)\) containing the image data in BGR format.

btm_midpoint (List[Tuple[int, int]]): A list of tuples each representing the \((x, y)\) coordinates of the bottom middle of a bounding box for use in zone analytics. The order corresponds to bboxes.

Outputs

none: No outputs produced.

Configs

None.