FiftyOneImagePlotter
- class lightning_pose.utils.fiftyone.FiftyOneImagePlotter(cfg: DictConfig, keypoints_to_plot: List[str] | None = None, csv_filename: str = 'predictions.csv')[source]
Bases:
objectAttributes Summary
Methods Summary
build_single_frame_keypoints(data_dict, ...)get_keypoints_per_image(data_dict)iterates over the rows of the dataframe and gathers keypoints in fiftyone format
img_height_width(idx)Attributes Documentation
- model_names
- num_keypoints
Methods Documentation
- build_single_frame_keypoints(data_dict: Dict[str, Dict[str, array]], frame_idx: int, height: int, width: int) List[Keypoint][source]