neodroidvision.utilities.visualisation.bounding_box_visualisation

A set of functions that are used for visualisation.

These functions often receive an image, perform some visualisation on the image. The functions do not return a value, instead they modify the image itself.

Functions

cdf_plot(values)

Numpy function to plot CDF.

draw_bounding_box_on_image(image, x_min, ...)

Adds a bounding box to an image.

draw_bounding_box_on_image_array(image, ...)

Adds a bounding box to an image (numpy array).

draw_bounding_boxes_on_image(image, boxes[, ...])

Draws bounding boxes on image.

draw_bounding_boxes_on_image_array(image, boxes)

Draws bounding boxes on image (numpy array).

draw_keypoints_on_image(image, keypoints[, ...])

Draws keypoints on an image.

draw_keypoints_on_image_array(image, keypoints)

Draws keypoints on an image (numpy array).

draw_mask_on_image_array(image, mask[, ...])

Draws mask on an image.

encode_image_array_as_png_str(image)

Encodes a numpy array into a PNG string.

hist_plot(values, bins)

Numpy function to plot hist.

visualize_boxes_and_labels_on_image_array(...)

Overlay labeled boxes on an image with formatted scores and label names.

Classes

BoundingBoxCoordinatesSpec()

BoundingBoxSpec(coordinates, score, label, ...)