Skip to content

Google Text recognizer unable to read the text in in Honor, one plus and some other model #780

Open
@Bhagavan-0413

Description

@Bhagavan-0413

Describe your issue. If applicable, add screenshots to help explain your problem.

Hi,
I am using google_mlkit_text_recognition in my app where the scan the text values in some devices like Samsung, Moto, Google Pixel etc. But In some device like One plus, Honor it is unable to scan the barcode.

TextRecognizer textRecognizer = TextRecognizer();
textRecognizer.close();
final RecognizedText recognizedText =
await textRecognizer.processImage(inputImage);

i am using
Flutter: 3.19.6
google_mlkit_text_recognition: 0.10.0
google_mlkit_commons: 0.5.0

Steps to reproduce.

TextRecognizer textRecognizer = TextRecognizer();
textRecognizer.close();
final RecognizedText recognizedText =
await textRecognizer.processImage(inputImage);

What is the expected result?

i am expecting passport number to scan document

Did you try our example app?

No

Is it reproducible in the example app?

No

Reproducible in which OS?

iOS and Android

Flutter/Dart Version?

Flutter: 3.19.6

Plugin Version?

google_mlkit_text_recognition: 0.10.0
google_mlkit_commons: 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Text RecognitionIssues corresponding to Text Recognition API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions