When cropping images for machine learning, the key metric is Intersection over Union (IoU). IoU measures how well the cropped area matches the target region of interest. It tells us how much the cropped image overlaps with the important part we want to keep. A higher IoU means the crop is more accurate and useful for training or prediction.
Other metrics like pixel accuracy or mean squared error can also help check if the cropped image preserves important features. But IoU is the most direct way to evaluate cropping quality.