convert_bbox_coords

lightning_pose.models.base.convert_bbox_coords(batch_dict: HeatmapLabeledBatchDict | MultiviewHeatmapLabeledBatchDict | MultiviewUnlabeledBatchDict | UnlabeledBatchDict, predicted_keypoints: Tensor, {'__torchtyping__': True, 'details': ('batch', 'num_targets'), 'cls_name': 'TensorType'}]) Tensor, {'__torchtyping__': True, 'details': ('batch', 'num_targets',), 'cls_name': 'TensorType'}][source]

Transform keypoints from bbox coordinates to absolute frame coordinates.