Image cropping based on learn.get_preds

I’m curious, is it possible to crop images based on learn.get_preds()?