Spaces:
Sleeping
Sleeping
Update ImageAnnotator.py
Browse files- ImageAnnotator.py +2 -0
ImageAnnotator.py
CHANGED
|
@@ -11,6 +11,8 @@ model = YOLO("yolo12s.pt")
|
|
| 11 |
|
| 12 |
def image_annotate(image:str, annotator:str) -> Image.Image:
|
| 13 |
"""
|
|
|
|
|
|
|
| 14 |
Args:
|
| 15 |
image: the path to the image file
|
| 16 |
annotator: the type of annotator to use
|
|
|
|
| 11 |
|
| 12 |
def image_annotate(image:str, annotator:str) -> Image.Image:
|
| 13 |
"""
|
| 14 |
+
Annotates objects detected in an image
|
| 15 |
+
|
| 16 |
Args:
|
| 17 |
image: the path to the image file
|
| 18 |
annotator: the type of annotator to use
|