Skip to content

Commit 8606b53

Browse files
committed
init visualize_results_yolo_pose_inference
1 parent 711645e commit 8606b53

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

patched_yolo_infer/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from .functions_extra import (
22
visualize_results_usual_yolo_inference,
3+
visualize_results_yolo_pose_inference,
34
get_crops,
45
visualize_results,
56
create_masks_from_polygons,

patched_yolo_infer/functions_extra.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def visualize_results_yolo_pose_inference(
199199
show_confidences=False,
200200
axis_off=True,
201201
show_classes_list=[],
202+
show_points_list=[],
202203
list_of_class_colors=None,
203204
return_image_array=False,
204205
inference_extra_args=None,
@@ -230,6 +231,7 @@ def visualize_results_yolo_pose_inference(
230231
show_confidences (bool): If True and show_class=True, confidences near class are visualized.
231232
axis_off (bool): If True, axis is turned off in the final visualization.
232233
show_classes_list (list): If empty, visualize all classes. Otherwise, visualize only classes in the list.
234+
show_points_list (list): If empty, visualize all points. Otherwise, visualize only points in the list.
233235
inference_extra_args (dict/None): Dictionary with extra ultralytics inference parameters.
234236
list_of_class_colors (list/None): A list of tuples representing the colors for each class in BGR format.
235237
If provided, these colors will be used for displaying the classes instead of random colors.

0 commit comments

Comments
 (0)