I am using VNRecognizeTextRequest
in my app to process text from a picture captured by the user. Everything works fine except that observations returned by the request are in a strange order. For the sake of simplicity, imagine that the app is a processing a square with a word in each of the four quadrants.
Instead of going upper-left, upper-right, lower-left, lower-right, it goes upper-left, lower-left, upper-right, lower-right.
This strange order only occurs in some places in the image, not over the whole image (it does generally go in the expected order and first picks up on the higher up words).
I have checked the coordinates of the observations in a few example images, and there is no clear pattern of why this is happening (I originally thought the issue might be due to the tilt of the camera or something similar but it appears not).
Would be super grateful if anyone has an idea of why this might be happening.