flutter_google_ml_vision
flutter_google_ml_vision copied to clipboard
Not able to detect text in Arabic language
Hello,
I am trying to detect text from an image which contains text written in Arabic language. But every time it return empty string. Here's the minimum reproducible code :-
void checkText() async { VisionText visionText; visionImage = GoogleVisionImage.fromFile(File.fromUri(Uri.parse(prov.getImage.path); TextRecognizer textRecognizer = GoogleVision.instance.textRecognizer(); visionText = await textRecognizer.processImage(visionImage); print("Detetcted text ---> ${visionText.text}"); }
The link to image i am processing -> https://www.verifave.com/wp-content/uploads/2020/11/Old-Egyptian-Driving-License-.png
Can someone suggest what's wrong here or am I missing some configuration.