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

No Barcode detection #31

Open Mun0n opened 9 years ago

Mun0n commented 9 years ago

I'm using the barcode-reader project in two Samsung devices (SM-N9005 or SM-G920F) and they are not capable of recognize any barcode. There is no problems in others like One plus one, or others Samsung devices like S3 or S4. There is not a problem of the autofocus, because it is working fine, the barcode is focus properly.

With this devices, the camera opens but nothing happens.

HELP please.

pchx-zz commented 9 years ago

Does BarcodeDetector.isOperational() return true?

The devices may be low on storage space, which would prevent the actual barcode reader library from getting downloaded.

Mun0n commented 9 years ago

Ok, that's the problem. The device is on low storage and the barcode detector doesn't start.

But... I think if my device has 400MB of free space....is the low storage limit too low??

Zxing works with lower storage levels. What do you think?

pchx-zz commented 9 years ago

Yes, we plan to tweak the free space threshold required to download the barcode detector in a future release. Stay tuned.

Mun0n commented 9 years ago

Thanks! Let me know as soon as you get that. This will be awesome.

Thank you guys!

JerabekJakub commented 8 years ago

Hi, I'm facing the same problem on Samsung S3 mini - barcodeDetector.isOperational() is false in createCameraSource() method. I've checked free space on internal storage and I have 3,43 GB free. I'm using latest library: com.google.android.gms:play-services:8.3.0

omar-faruk-sust commented 8 years ago

i am using the Nexus 5. i am facing the problem No barcode detected. is there anybody who can help to solve this problem?

safeer-ahmed commented 6 years ago

I am facing the same issue on ASUS Tablet running API Level 18. Is there any workaround to install them from code?

naser9878 commented 6 years ago

devices with Android 5.1 , the camera opens but nothing happens. how tweak the free space threshold required to download the barcode detector ?? When will this bug be fixed?

vegeta2102 commented 4 years ago

Hi guys! Any update on this ? I'm facing the same problem on Sony Xperia (OS 9)