Open ghost opened 7 years ago
It's hard to say why the wrong value is getting read without a sample image of the barcode in question. It's possible that the camera resolution you are using is too low.
@pchx I added a picture of a barcode and a QR code which I used for test. Besides I'm testing with a Huawei TIT-U02 device (back camera: 13Megapixel).
Try rendering the Code 128 barcode at a greater width.
I get the same result even with a greater width, I'm wondering if it can be related particularly to the Huawei TIT-U02 device because I'm not getting this problem with other devices which have a lower camera resolution.
Possible, though unlikely. You can try loading a Bitmap from an image file and passing that into BarcodeDetector (to eliminate camera issues as a potential source of the error) and running that on your devices. If you can reproduce the inconsistent result value with an image, add it to this issue.
This is the content of the codeBar to be read: BLR16001692. But The camera return this value: B%%'60(1692
What could be the reason of this error please?
The type or format of barcode which I'm using is the same always: 3 characters+ 8 digits ex: BLR12345678. I'm using code 128 for generating barcodes.
I get the error above only with the Huawei TIT-U02, with another device like Huawei-G730 I get a long series of digits like 2567476459569