Safemotion Lib
Loading...
Searching...
No Matches
Namespaces | Functions
utils_vis.py File Reference

Go to the source code of this file.

Namespaces

namespace  utils_vis
 

Functions

 utils_vis.get_palette (n)
 
 utils_vis.vis_instance_segmentation (image, masks=None, bboxes=None, colors=None)
 
 utils_vis.vis_pose_coco_skeleton (image, pose_results)
 
 utils_vis.vis_pose_coco_skeleton_one_person (image, keypoints)
 
 utils_vis.draw_single_bbox_and_label (img, bbox, label, box_color, box_thk, txt_color, txt_thk, txt_scale, box_type='xywh')
 
 utils_vis.draw_bboxes_list (image, bboxes, box_color, box_thk, box_type, labels=None)
 
 utils_vis.draw_bboxes_dict (image, bboxes, box_color, box_thk, box_type)
 
 utils_vis.draw_and_save_bboxes (image, save_path, bboxes, box_color, box_thk, box_type='xywh')
 
 utils_vis.draw_and_save_single_bbox (image, save_path, bbox, label, box_color, box_thk, box_type='xywh')
 
 utils_vis.make_video (folder_or_paths, save_path, fps=30, i_size='half')