def apply_to_keypoint(self, keypoint, angle=0, **params): return F.keypoint_rotate(keypoint, angle, **params)
def test_keypoint_rotate(keypoint, expected, angle): actual = F.keypoint_rotate(keypoint, angle, rows=100, cols=100) np.testing.assert_allclose(actual, expected, atol=1e-7)
def apply_to_keypoint(self, keypoint, **params): return functional.keypoint_rotate(keypoint, self.angle, **params)