def trafo_coords(keypoints_crop_coords, centers, scale, crop_size):
    ' Transforms coords into global image coordinates. '
    keypoints_coords = np.copy(keypoints_crop_coords)
    keypoints_coords -= (crop_size // 2)
    keypoints_coords /= scale
    keypoints_coords += centers
    return keypoints_coords
Transforms coords into global image coordinates.
def trafo_coords(keypoints_crop_coords, centers, scale, crop_size):
    '  '
    keypoints_coords = np.copy(keypoints_crop_coords)
    keypoints_coords -= (crop_size // 2)
    keypoints_coords /= scale
    keypoints_coords += centers
    return keypoints_coords