Zxing Android Studio Barcode Scanner Not Working With Large Barcodes
I have developed an app for reading bar codes using the ZXing library, it works without problems with short codes such as: Short Bar Code but with long codes like the following,
Solution 1:
I don't think the problem lies with ZXing. As the barcode given in the question is a Code 128 format, which is supported by ZXing and the image attached in question is successfully scanned by ZXing Online Decoder and the output of scanned image is as:
+--------------------+----------------------------+ | Raw text | DSEC3743T0040001P96837678 | +--------------------+----------------------------+ | Raw bytes | 68 24 33 25 23 63 25 2b | | | 64 34 10 63 04 00 01 64 | | | 30 63 60 53 4c 4e 54 6a | +--------------------+----------------------------+ | Barcode format | CODE_128 | +--------------------+----------------------------+ | Parsed Result Type | TEXT | +--------------------+----------------------------+ | Parsed Result | DSEC3743T0040001P96837678 | +--------------------+----------------------------+
The image is too long to be scanned properly by certain phone's camera, as ZXing receives callbacks from screen while camera is on so make sure barcode is properly focused and camera is not that shaky.
Post a Comment for "Zxing Android Studio Barcode Scanner Not Working With Large Barcodes"