Code styling tweaks to core utils & YAML loader (#85433)

Code styling tweaks to core utils
This commit is contained in:
Franck Nijhof 2023-01-09 07:01:55 +01:00 committed by GitHub
parent aa1c539683
commit 7adb8d5ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 68 additions and 51 deletions

View file

@ -15,8 +15,7 @@ def draw_box(
text: str = "",
color: tuple[int, int, int] = (255, 255, 0),
) -> None:
"""
Draw a bounding box on and image.
"""Draw a bounding box on and image.
The bounding box is defined by the tuple (y_min, x_min, y_max, x_max)
where the coordinates are floats in the range [0.0, 1.0] and