Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

VNRecognizeTextRequest: .automatic vs specific language: different results?

Hi,

One can configure the languages of a (VN)RecognizeTextRequest with either:

  • .automatic: language to be detected
  • a specific language, say Spanish

If the request is configured with .automatic and successfully detects Spanish, will the results be exactly equivalent compared to a request made with Spanish set as language?

I could not find any information about this, and this is very important for the core architecture of my app.

Thanks!

Answered by DTS Engineer in 836105022

Following up, you should not rely on this behavior in your app. Assume that the results may not be exactly equivalent.

-- Greg

Hello @yellow8,

I'm not sure at this point, I will see what I can find and will follow up on this.

Having said that, because automatic cannot always guarantee the correct detection, it is definitely possible that, in that case (incorrect detection), the results would be different.

-- Greg

Accepted Answer

Following up, you should not rely on this behavior in your app. Assume that the results may not be exactly equivalent.

-- Greg

VNRecognizeTextRequest: .automatic vs specific language: different results?
 
 
Q