neodroidvision.utilities.visualisation.bounding_box_visualisation.draw_keypoints_on_image_array¶
- neodroidvision.utilities.visualisation.bounding_box_visualisation.draw_keypoints_on_image_array(image, keypoints, color: Optional[ColorEnum] = None, radius: Union[int, float] = 2, use_normalized_coordinates: bool = True, mode: PilModesEnum = PilModesEnum.RGBA)[source]¶
Draws keypoints on an image (numpy array).
Args: image: a numpy array with shape [height, width, 3]. keypoints: a numpy array with shape [num_keypoints, 2]. color: color to draw the keypoints with. radius: keypoint radius. Default value is 2. use_normalized_coordinates: if True (default), treat keypoint values as relative to the image. Otherwise treat them as absolute. :param use_normalized_coordinates: :param radius: :param color: :param keypoints: :param image: :param mode: