I implemented the text recognition of MLkit on IOS but it could not recognize non-English text (e.x Arabic text).
It works in English only.
Here are the docs https://developers.google.com/ml-kit/vision/text-recognition/ios
My code:
let textRecognizer = TextRecognizer.textRecognizer()
let visionImage = VisionImage(image: image)
textRecognizer.process(visionImage) { result, error in
guard error == nil, let result = result else { return }
let resultText = result.text
print("MLKit : " + resultText)
}