vision-camera-code-scanner
vision-camera-code-scanner copied to clipboard
if barcode EAN-13 starts with zero, scanner use format UPC-A
trafficstars
Hello, today I get interest bug, if with this lib we scan barcode with format EAN-13 (13 digits) which starts with zero. Lib start thing that is Format Type UPC-A which is 12 digits. I know, I can manually add 0 but its can make problems with UPC-A. And now I need both of this formats. Any solution for this ?
any updates ?
Bump; it seems that manually setting the barcode type to BarcodeFormat.EAN_13 does nothing in this case, as the first leading zero is still ignored - effectively turning an EAN-13 into an UPC-A.