Hi, I am reading the document about Gemini Bounding box detection.
https://cloud.google.com/vertex-ai/generative-ai/docs/bounding-box-detection
In the article, following code snippets are used, and i found actual argument name (image_uri) and docstring Arg (img_path) are different.
def plot_bounding_boxes(image_uri: str, bounding_boxes: list[BoundingBox]) -> None:
"""
Plots bounding boxes on an image with markers for each a name, using PIL, normalized coordinates, and different colors.
Args:
img_path: The path to the image file.
bounding_boxes: A list of bounding boxes containing the name of the object
and their positions in normalized [y1 x1 y2 x2] format.
"""
If you have a connection to Google, Please notice. Thank you for reading.