When is Preprocessing necessary

Apple Recommended

Replies

Vision does indeed resize your images, according to the VNImageCropAndScaleOption that you set on the VNCoreMLRequest object.

If you're not using Vision, but you're using the Core ML API, you'll have to do the resizing yourself. Or you can give the model flexible inputs so that it can handle images of different sizes.