googlesamples / android-vision

Deprecated: The Mobile Vision API is now a part of ML Kit: Check out this repo:
https://github.com/firebase/quickstart-android/tree/master/mlkit
Apache License 2.0
2.92k stars 1.73k forks source link

QRcode - scan is working but not when reading from bitmap #264

Open aditya1590 opened 7 years ago

aditya1590 commented 7 years ago

There is one qr code which is scanned properly, but returning no barcodes when processed as a bitmap. Attached the bitmap and the sample project. "code2" is the qr code that is failing.

Below is the code being used : Frame frame = new Frame.Builder().setBitmap(bitmap).build(); SparseArray barcodes = detector.detect(frame);

And the SparseArray is returned empty.

BarcodeFromImage.zip qrcode failed when processed as bitmap

aditya1590 commented 7 years ago

Any update on this? We are facing an issue in our production application with this qr code. Please help us to resolve this.

sagarchalavadi commented 6 years ago

I am also facing the same issue, Is there any resolution to this problem?