Skip to content
Snippets Groups Projects
Commit 4dfc63a8 authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[doc] Fix typos

parent 45043ddb
No related branches found
No related tags found
Loading
...@@ -63,7 +63,7 @@ def _overlay_saliency_map( ...@@ -63,7 +63,7 @@ def _overlay_saliency_map(
Parameters Parameters
---------- ----------
image image
The input image that will be overlayed with the saliency map. The input image that will be overlaid with the saliency map.
saliencies saliencies
The saliency map that will be overlaid on the (raw) image. The saliency map that will be overlaid on the (raw) image.
colormap colormap
...@@ -118,7 +118,7 @@ def _overlay_bounding_box( ...@@ -118,7 +118,7 @@ def _overlay_bounding_box(
Parameters Parameters
---------- ----------
image image
The input image that will be overlayed with the saliency map. The input image that will be overlaid with the saliency map.
bbox bbox
The bounding box to draw on the input image. The bounding box to draw on the input image.
color color
...@@ -149,13 +149,13 @@ def _process_sample( ...@@ -149,13 +149,13 @@ def _process_sample(
saliencies: numpy.typing.NDArray[numpy.double], saliencies: numpy.typing.NDArray[numpy.double],
ground_truth: BoundingBoxes, ground_truth: BoundingBoxes,
) -> PIL.Image.Image: ) -> PIL.Image.Image:
"""Generate an overlayed representation of the original sample and saliency """Generate an overlaid representation of the original sample and saliency
maps. maps.
Parameters Parameters
---------- ----------
raw_data raw_data
The raw data representing the input sample that will be overlayed with The raw data representing the input sample that will be overlaid with
saliency maps and annotations. saliency maps and annotations.
saliencies saliencies
The saliency map recovered from the model, that will be imprinted on The saliency map recovered from the model, that will be imprinted on
...@@ -166,7 +166,7 @@ def _process_sample( ...@@ -166,7 +166,7 @@ def _process_sample(
Returns Returns
------- -------
PIL.Image.Image PIL.Image.Image
An image with the original raw data overlayed with the different An image with the original raw data overlaid with the different
elements as selected by the user. elements as selected by the user.
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment