Expanded the drawing functionality by adding new utility methods 'draw_image', 'draw_line' and 'draw_rectangle' and imported them in supervision/__init__.py. Updated the documentation of draw/utils, to include 'draw_image'. Improved type hinting in draw/color.py and draw/utils.py. Also, some redundant comments and unnecessary immediate memory freeing line are removed from draw/utils.py to enhance code readability.
24 lines
347 B
Markdown
24 lines
347 B
Markdown
## draw_line
|
|
|
|
:::supervision.draw.utils.draw_line
|
|
|
|
## draw_rectangle
|
|
|
|
:::supervision.draw.utils.draw_rectangle
|
|
|
|
## draw_filled_rectangle
|
|
|
|
:::supervision.draw.utils.draw_filled_rectangle
|
|
|
|
## draw_polygon
|
|
|
|
:::supervision.draw.utils.draw_polygon
|
|
|
|
## draw_text
|
|
|
|
:::supervision.draw.utils.draw_text
|
|
|
|
## draw_image
|
|
|
|
:::supervision.draw.utils.draw_image
|