Replace ndimage.geometric_transform with skimage.transform.rotate in regionprops example