undo_affine_transform

lightning_pose.data.utils.undo_affine_transform(keypoints: Tensor[Tensor], transform: Tensor[Tensor] | Tensor[Tensor]) Tensor[Tensor]

Undo an affine transform given a tensor of keypoints and the tranform matrix.