IMEI bar code not recognized

107 views
Skip to first unread message

Nan Yang

unread,
Oct 20, 2021, 7:46:39 AM10/20/21
to zxing
I tried to use ZXing to decode IMEI barcode, but it could not be recognized successfully. I found that "Code128Reader::decodePattern" can read "StartCode" and it is "CODE_START_C", but the data after that was wrong.
Could someone help me?

Steps to Reproduce:
1. Clone and build (commit 00783db7aa3bcf8620a301854ac71c0ceaaca0c1) on macOS 11.4.
2. Execute "ZXingReader /path/to/imei2.png".

There is my output:

Text: ""
Format: None
Position: 0x0 0x0 0x0 0x0
Rotation: 0 deg
Error: NotFound
imei2.png

Nan Yang

unread,
Oct 20, 2021, 9:01:05 PM10/20/21
to zxing
The barcode image is directly taken from the screen of the real iOS 15 device. 
Reply all
Reply to author
Forward
0 new messages