iaa_od.visualisation.show_disagreements

Functions

show_gts_with_disagreements(result, ...[, ...])

A wrapper for the function "show_image_with_disagreements_new" that runs it for all images in a given ground truth set.

show_image_with_disagreements(result, ...[, ...])

Shows which bounding boxes on a given image contribute to agreement (in green) and which don't (in red).

iaa_od.visualisation.show_disagreements.show_gts_with_disagreements(result, filepath, /, *, compare_categories=False, show_image_filename=False)[source]

A wrapper for the function “show_image_with_disagreements_new” that runs it for all images in a given ground truth set.

Parameters:
  • result (Result) – The Result object containing the ground truths and units.

  • filepath (str) – The filepath where the images are located.

  • compare_categories (bool) – Whether to compare categories for agreement status, or just localisation.

  • show_image_filename (bool) – Whether to show the image filename in the title of the plot. Defaults to False.

Return type:

None

iaa_od.visualisation.show_disagreements.show_image_with_disagreements(result, filename, filepath, /, *, compare_categories=False, show_image_filename=False)[source]

Shows which bounding boxes on a given image contribute to agreement (in green) and which don’t (in red).

Parameters:
  • result (Result) – The Result object containing the ground truths and units.

  • filename (str) – The filename of the image to display.

  • filepath (str) – The filepath where the image is located.

  • compare_categories (bool) – Whether to compare categories for agreement status, or just localisation.

  • show_image_filename (bool) – Whether to show the image filename in the title of the plot. Defaults to False.

Return type:

None