Spaces:
Sleeping
Sleeping
Update PoseAnnotator.py
Browse files- PoseAnnotator.py +2 -0
PoseAnnotator.py
CHANGED
|
@@ -12,6 +12,8 @@ model2 = YOLO("yolo11s-pose.pt")
|
|
| 12 |
# build pose annotator
|
| 13 |
def pose_annotate(image:str, pose_annotator:str) -> Image.Image:
|
| 14 |
"""
|
|
|
|
|
|
|
| 15 |
Args:
|
| 16 |
image: the path to the image file
|
| 17 |
pose_annotator: the type of annotator to use
|
|
|
|
| 12 |
# build pose annotator
|
| 13 |
def pose_annotate(image:str, pose_annotator:str) -> Image.Image:
|
| 14 |
"""
|
| 15 |
+
Annotates human postures detected in an image
|
| 16 |
+
|
| 17 |
Args:
|
| 18 |
image: the path to the image file
|
| 19 |
pose_annotator: the type of annotator to use
|