Thanks for the lead. Actually, I was very happy to use RecognizeTextRequest.perform(on: URL)
because I was supposing that the underlying code was optimizing everything in terms of CPU/GPU. Of course it wouldn't make any sense that the code would resize the image there, not knowing what the image contains.
Therefore, If I'm to resize the images before OCR by defining a maximum resolution, do you have a recommandation (ballpark) on good pixel values to use knowing that the images are documents?
Also, can you confirm that RecognizeTextRequest.perform(on: CIImage) would be the optimized choice to use in the case of a resized image? In other words, flow would be:
URL > CIImage > resized CIImage > OCR
Thank you very much in advance :-)