[英]ZXing Android Studio barcode scanner not working with large barcodes
我認為問題不在於ZXing 。
由於問題中給出的條形碼是Code 128格式,這是ZXing支持的,並且ZXing Online Decoder成功掃描了有問題的圖像,掃描圖像的輸出為:
+--------------------+----------------------------+ | 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 | +--------------------+----------------------------+
圖片太長,無法用某些手機的相機正確掃描,因為ZXing在相機開啟時會收到來自屏幕的回叫,因此請確保條形碼正確聚焦並且相機不會晃動。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.