yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.09k stars 266 forks source link

Scan returns wrong data #191

Open iskraM opened 9 months ago

iskraM commented 9 months ago

If I try scanning the CODE128 codes, and I rotate the device around, the code that is returned is wrong. It only returns correct data if the code is placed horizontally in front of the camera. If the code is rotated more than, let's say, 40°, it will return some random data.

zaheerrasheed commented 2 months ago

i am also facing this problem and i fixed it by excluding this specific format (UPC_E) if (result.barcodeFormat == BarcodeFormat.UPC_E) return