发明名称 |
TWO-DIMENSIONAL CODE PARTITIONING AND DECODING METHOD AND SYSTEM |
摘要 |
Provided are a two-dimensional code partitioning and decoding method and system. The method comprises: storing a received two-dimensional code image in an image data backup register; according to a gray-scale value of a pixel point, performing binarization on the received two-dimensional code image; according to a position detection pattern, searching for a boundary line of the two-dimensional code image; searching for a version number and a correction pattern in the two-dimensional code image; dividing the two-dimensional code image into regions by means of the position detection pattern and the correction pattern and calculating the number of bits of each region; according to a deformation amount of the position detection pattern and a deformation amount of the correction pattern, dividing each region into a bit region; re-acquiring the two-dimensional code image in the image data backup register; calculating an average gray-scale value of all pixel points in the bit region as a gray-scale value of the bit region; performing binarization on the region according to the gray-scale value of each bit region to obtain a binarized two-dimensional code image; and decoding the binarized two-dimensional code image. The system is accurate in partitioning, and fast and accurate in decoding. |
申请公布号 |
WO2017016445(A1) |
申请公布日期 |
2017.02.02 |
申请号 |
WO2016CN90993 |
申请日期 |
2016.07.22 |
申请人 |
FUJIAN LANDI COMMERCIAL EQUIPMENT CO., LTD |
发明人 |
JIANG, Shengzhang;WU, Weidong |
分类号 |
G06K7/10 |
主分类号 |
G06K7/10 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|