File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from .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 ,
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments