iosswiftvisionkit

VNRecognizeTextRequest iOS 15 problem recognizing text


I found a problem with the Vision framework in my app using iOS 15. I write recognized text in a string and under iOS 15 the result is not in the right order.

Maybe an example would explain it better :-)

Text to scan:

Hello, my name is Michael and I am the programmer of an app
named Scan2Clipboard.
Now I've focused a problem with
VNRecognizeTextRequest and iOS 15.

Result under iOS 14:

Hello, my name is Michael and I am the programmer of an app
named Scan2Clipboard.
Now I've focused a problem with
VNRecognizeTextRequest and iOS 15.

Result under iOS 15:

Hello, my name is Michael and I am the programmer of an app
Now I've focused a problem with
named Scan2Clipboard.
VNRecognizeTextRequest and iOS 15.

I've tried some other apps from the App Store (Scan&Copy, Quick Scan). They show the same behavior. They're also using the Vision framework. Does anyone else also have this issue?

The first image below is the source and the second image is the result. Please notice the "Für den Mürbteig" jumps in the middle of the result:

Example:

enter image description here


Solution

  • The error disappears with Beta 3 of iOS15.1