WO2010017709A1 - 获取二维码的方法和终端 - Google Patents

获取二维码的方法和终端 Download PDF

Info

Publication number
WO2010017709A1
WO2010017709A1 PCT/CN2009/071079 CN2009071079W WO2010017709A1 WO 2010017709 A1 WO2010017709 A1 WO 2010017709A1 CN 2009071079 W CN2009071079 W CN 2009071079W WO 2010017709 A1 WO2010017709 A1 WO 2010017709A1
Authority
WO
WIPO (PCT)
Prior art keywords
dimensional code
image
information
code image
new
Prior art date
Application number
PCT/CN2009/071079
Other languages
English (en)
French (fr)
Inventor
樊艳梅
Original Assignee
深圳华为通信技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳华为通信技术有限公司 filed Critical 深圳华为通信技术有限公司
Publication of WO2010017709A1 publication Critical patent/WO2010017709A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light

Definitions

  • the 2D code (2_Dimens iona l Bar Code) records the data symbol information in a black and white pattern distributed in a plane with a certain geometric pattern according to a certain pattern; skillfully uses the "0" that constitutes the internal logic of the computer in the code preparation.
  • the concept of ",” "1" bit stream uses several geometric shapes corresponding to binary to represent literal numerical information, and is automatically read by an image input device or an optical scanning device to realize automatic information processing.
  • Each code system has its own specific character set; each character occupies a certain width; it has a certain check function.
  • Mobile terminal two-dimensional code is a kind of two-dimensional code, which is a new-generation bar code technology for recording data symbol information in a plane-distributed black and white rectangular square matrix with a certain geometric pattern.
  • the mobile terminal QR code consists of a two-dimensional code matrix pattern and a two-dimensional code number, and a description text below. The user scans the two-dimensional code graphic through the camera of the mobile terminal, or inputs the two-dimensional code number to enter the relevant webpage to access the mobile terminal.
  • the mobile terminal two-dimensional code has the advantages of large amount of information, strong error correction capability, fast reading speed, and comprehensive reading.
  • the mobile terminal QR code can be printed on a variety of carriers such as newspapers, magazines, advertisements, books, products, packaging, and personal business cards.
  • the mobile terminal collects the two-dimensional code map by using a lossy manner such as photographing
  • the images collected by the camera may have problems such as low resolution, uneven illumination, noise interference, distortion, blurring, etc.
  • the two-dimensional code obtained in a lossy manner propagates again in a lossy manner, it may be aggravated.
  • a stain or defect in the image causes the two-dimensional code image to be unrecognizable.
  • the new two-dimensional code image is stored.
  • An image generating unit configured to generate a new two-dimensional code image according to the two-dimensional code information recognized by the image recognition unit;
  • an image storage unit configured to store the new two-dimensional code image generated by the image generating unit.
  • FIG. 1 is a schematic flowchart of a method for acquiring a two-dimensional code according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for acquiring a two-dimensional code according to an embodiment of the present invention
  • 3 is a schematic diagram of an original two-dimensional code image in an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a new two-dimensional code image generated after the original two-dimensional code image is identified in the embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for acquiring a two-dimensional code, as shown in FIG. 1 , including: Step s11O, identifying two-dimensional code information of a two-dimensional code image;
  • Step sl20 generating a new two-dimensional code image according to the two-dimensional code information
  • Step sl30 storing a new two-dimensional code image.
  • a new two-dimensional code image is generated and stored, and the two-dimensional code image obtained by the user terminal through the lossy manner may be performed. Regeneration, so that the reproduced two-dimensional code image can be recognized.
  • the user terminal takes a mobile terminal as an example.
  • An embodiment of the present invention provides a method for acquiring a two-dimensional code. As shown in FIG. 2, the method includes: Step s 210: Select a code system of a two-dimensional code.
  • PDF4-7 Portable Data File
  • QR Japanese Quick Response code
  • Data Matrix Korean Data Matrix
  • Li Li
  • GM China Grid Matrix
  • the user can set the code system of the two-dimensional code according to the code name or the sample picture provided by the mobile terminal, or the mobile terminal can guess according to the image information.
  • Step s 220 performing identification of the two-dimensional code.
  • Step s 221 The mobile terminal locates the two-dimensional code image.
  • Step s 222 binarizing the two-dimensional code image to obtain a binary bar code image with a good black-and-white ratio, thereby satisfying the condition of correct decoding.
  • code block identification is performed, and according to the code law of the two-dimensional code, a binary bit stream is obtained, thereby obtaining a condition that satisfies the correct decoding.
  • the typical geometry in the code image is corrected to a form without distortion, such as correction of an image having a tilt;
  • image segmentation refers to extracting a meaningful feature region or a feature region to be applied in a lossy two-dimensional image;
  • the removal of noise refers to the orthogonal transformation of the image in the spatial domain to the frequency domain by Fourier transform or wavelet base transform, and then inversely transforms into the spatial domain after processing in the frequency domain to realize the loss of the two-dimensional code image. deal with.
  • the obtained two-dimensional code image after error correction on the damaged information can be decoded and decoded into a plurality of symbol characters.
  • Step s 230 confirming the two-dimensional code information, that is, confirming the recognition result of the two-dimensional code image.
  • the user confirms the QR code information displayed by the mobile terminal. If the user confirms that the two-dimensional code information recognized by the mobile terminal based on the two-dimensional code image is correct, the following steps can be performed.
  • Step s 240 generating a new two-dimensional code image.
  • the user After confirming that the QR code information is correct, the user performs encoding based on the identified information to generate a new two-dimensional code image.
  • the encoding according to the identified information, generating a new two-dimensional code image includes: Step s 241, generating a binary stream according to the two-dimensional code information.
  • a binary stream is generated by using two-dimensional code information obtained from the original image, such as encoding parameters.
  • encoding parameters include data encoding methods, versions, error correction levels, and masks.
  • the new QR code image has the same QR code information as the original QR code image, but the image is more complete and clear.
  • the new two-dimensional code image stored by the mobile terminal enables reproduction of the image during lossy propagation.
  • the two-dimensional code information corresponding to the image can still be identified.
  • the mobile terminal obtains a distorted two-dimensional code image by taking a picture, as shown in FIG. 3, and after obtaining the result, the result is asdf5g6h7j8k910 (iwertyuiop, after the user confirms that the information is correct, a new two-dimensional code image is generated, as shown in the figure. 4.
  • the user saves the repaired QR code image, and the image can still be recognized after being propagated to other users through lossy propagation.
  • the embodiment of the present invention further provides a terminal for acquiring a two-dimensional code, as shown in FIG. 5, comprising: an image recognition unit 510, configured to identify two-dimensional code information of the two-dimensional code image;
  • the image generating unit 520 is configured to generate a new two-dimensional code image according to the two-dimensional code information recognized by the image recognition unit 510;
  • the image recognition unit 620 is configured to identify the two-dimensional code information of the two-dimensional code image according to the code system selected by the code selection unit 610.
  • the user confirms the QR code information displayed by the mobile terminal. If the user confirms that the two-dimensional code information recognized by the mobile terminal based on the two-dimensional code image is correct, it can continue.
  • the image generating unit 64 0 is for generating a new two-dimensional code image based on the confirmation result of the confirmation request unit 630.
  • a binary stream is generated by using two-dimensional code information obtained from the original image, such as a coding parameter; and a new two-dimensional code image is generated.
  • these encoding parameters include data encoding methods, versions, error correction levels, and masks.
  • the image storage unit 65 0 is configured to store a new two-dimensional code image generated by the image generating unit 640.
  • the new two-dimensional code image stored by the mobile terminal enables the reproduction of the image during lossy propagation.
  • the two-dimensional code information corresponding to the image can still be identified.
  • the image recognition unit 62 0 may include:
  • the positioning subunit 621 is configured to locate the two-dimensional code image according to the information contained in the two-dimensional code image. Positioning information is set in the two-dimensional code image. For example, there are three finder images on the three corners of the QR code; there is a search area on the ML code; the Chinese GM code combines the recognition mode and the positioning mode of the code image into one and evenly Arranged in the code map.
  • the processing sub-unit 622 is configured to perform binarization processing on the two-dimensional code image.
  • the error correction sub-unit 62 3 is configured to perform error correction on the damaged information of the two-dimensional code image.
  • the mobile terminal can use various standard error correction algorithms to verify the information of the two-dimensional code and perform certain corrections on the wrong part.
  • the present invention can be implemented by hardware, or by software plus a necessary general hardware platform.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Description

获取二维码的方法和终端
本申请要求于 2008 年 08 月 14 日提交中国专利局、 申请号为 200810147062.X, 发明名称为"一种获取二维码的方法和终端"的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域, 尤其涉及一种获取二维码的方法和终端。 背景技术
二维码 ( 2_Dimens iona l Bar Code )是用某种特定的几何图形按一定规 律在平面分布的黑白相间的图形记录数据符号信息的; 在代码编制上巧妙地 利用构成计算机内部逻辑基础的 "0" 、 "1" 比特流的概念, 使用若干个与 二进制相对应的几何形体来表示文字数值信息, 通过图像输入设备或光电扫 描设备自动识读以实现信息自动处理。 全球现有的一、 二维码多达 250种以 上, 其中常见的有 PDF417 , QRCode , Code49 , Codel 6K , CodeOne等 20余种。 每种码制有其特定的字符集; 每个字符占有一定的宽度; 具有一定的校验功 能等。
"移动终端二维码"是二维码的一种,是用特定的几何图形按一定规律 在平面分布的黑白相间的矩形方阵记录数据符号信息的新一代条码技术。 移 动终端二维码由一个二维码矩阵图形和一个二维码号, 以及下方的说明文字 构成。 用户通过移动终端摄像头对二维码图形进行扫描, 或输入二维码号即 可以进入相关网页进行移动终端上网。 移动终端二维码具有信息量大, 纠错 能力强, 识读速度快, 全方位识读等优点。 移动终端二维码可以印刷在报纸、 杂志、 广告、 图书、 产品、 包装以及个人名片等多种载体上。
现有技术中, 如果移动终端通过有损方式如拍照的方法釆集到二维码图 像, 釆集到的图像会存在分辨率低、 光照不均、 噪声干扰、 畸变、 模糊等问 题, 这种以有损方式获得的二维码再次以有损方式进行传播时, 可能由于加 重了该图像的污损或缺损, 导致二维码图像不可识别。
在实施本发明的过程中, 发明人发现现有技术中至少存在以下问题: 用户终端不能对通过有损方式获取到的二维码图像进行再生。 发明内容
本发明实施例提供了一种获取二维码的方法和终端, 以实现对终端通 过有损方式获得的二维码图像进行再生。
本发明实施例提供一种获取二维码的方法, 包括:
识别二维码图像的二维码信息;
根据所述二维码信息生成新二维码图像;
储存所述新二维码图像。
本发明实施例还提供一种获取二维码的终端, 包括:
图像识别单元, 用于识别二维码图像的二维码信息;
图像生成单元, 用于根据所述图像识别单元识别的所述二维码信息生 成新二维码图像;
图像储存单元,用于储存所述图像生成单元生成的所述新二维码图像。 与现有技术相比, 本发明实施例至少具有以下优点:
釆用本发明实施例提供的方法和终端, 对二维码图像的二维码信息进 行识别后, 生成并储存新的二维码图像, 可以对用户终端通过有损方式获 得的二维码图像进行再生, 使得再生后的二维码图像可识别。 附图说明
图 1为本发明实施例提供的获取二维码的方法的流程示意图; 图 2为本发明实施例提供的获取二维码的方法应用流程示意图; 图 3为本发明实施例中原始二维码图像的示意图;
图 4为本发明实施例中原始二维码图像经过识别后生成的新的二维码 图像的示意图;
图 5为本发明实施例提供的终端的结构示意图;
图 6为本发明实施例提供的终端的详细结构示意图。 具体实施方式
下面结合附图和实施例对本发明进行详细介绍。
本发明实施例提供一种获取二维码的方法, 如图 1所示, 包括: 步骤 sllO, 识别二维码图像的二维码信息;
步骤 sl20, 根据二维码信息生成新二维码图像;
步骤 sl30, 储存新二维码图像。
通过釆用本发明实施例提供的方法, 对二维码图像的二维码信息进行 识别后, 生成并储存新的二维码图像, 可以对用户终端通过有损方式获得 的二维码图像进行再生, 使得再生后的二维码图像可识别。
下面结合具体应用场景对本发明进行进一步介绍。 其中, 用户终端以 移动终端为例。
本发明实施例提供了一种获取二维码的方法, 如图 2所示, 包括: 步骤 s 210 , 选择二维码的码制。
目前存在多种码制, 各种码制的标准之间并不是都互相兼容, 如美国 便携数据文件 ( PortableDataFile PDF417 ) 码, 日本快速反应 (Quick Response code, QR )码, 韩国数据矩阵 (Data Matrix, 丽)码, 中国网 格矩阵 (Grid Matrix, GM )码。
支持多码制的移动终端通常会提供一个根据码制名字选择码制的操 作, 但是用户一般不知道哪种码制对应哪种图形。 本发明实施例提供各种 码制的样图, 用户不需要了解各个码制的具体实现, 把获取到的二维码图 形跟样图比较, 就可以知道该二维码的码制。
用户可以根据移动终端提供的码制名称或样图自行设定获得二维码 的码制, 或者由移动终端根据图像信息猜测出来。
步骤 s 220 , 进行二维码的识别。
移动终端对二维码的识别过程包括以下步骤:
步骤 s 221 , 移动终端对二维码图像进行定位。
二维码图像中设置有定位信息, 例如 QR码的三个角上有三个寻像图 形; 丽码上有寻界区; 中国 GM码将码图的识别模式与定位模式合二为一 并均匀地排列在码图中。
步骤 s 222 , 对二维码图像进行二值化处理, 以便得到黑白比例保持较 好的二值条码图像, 从而满足正确译码的条件。
具体地, 对二维码图像进行二值化处理后, 进行码块识别, 并且根据 该二维码的布码规律, 得到一个二进制的比特流, 从而获得满足正确译码 的条件。
此外, 由于有损的二维码图像可能是由脏污、 畸形或光照不均匀等引 起的图像失真, 因此, 在该步骤 s 222 中, 针对每种失真的有损二维码图 像, 还可釆用有针对性的图像处理方法对有损的二维码图像进行处理, 并 对处理后的图像进行二值化处理。 具体地, 对失真的有损二维码图像可釆 用几何变换、边缘检测、 图像分割或去除噪声等对二维码进行处理, 其中, 几何变换是指按照一定的目的将有损的二维码图像中的典型几何结构校 正为没有变形的形式, 如可对存在倾斜的图像进行校正; 图像分割是指将 有损的二维图像中有意义的特征区域或需要应用的特征区域提取出来; 去 除噪声是指利用傅立叶变换或小波基变换等将空间域中的图像经过正交 变换到频域, 在频域里进行处理后再反变换到空间域, 实现对有损的二维 码图像的处理。
步骤 s 223 , 对受损信息进行纠错, 以恢复被破坏的数据来实现对于条 码的正确译码。
各个二维码标准都定义了纠错功能, 因此二维码的信息存储会包含两 个部分, 一个是有效信息, 另一个是纠错信息。 移动终端可以利用各个标 准纠错算法, 对二维码的信息进行校验, 对于错误的部分, 进行一定的纠 正。
步骤 s 224 , 移动终端软件把整幅的二维码图像拆分为若干个符号字 元, 显示二维码信息给用户。
具体地, 针对上述对受损信息糾错后的得到的二维码图像, 可对其进 行解码, 将其解码成具有若干符号字元。
步骤 s 230 , 确认二维码信息, 即确认二维码图像的识别结果。
用户对移动终端显示的二维码信息进行确认。 如果用户确认移动终端 根据二维码图像识别出的二维码信息正确, 则可以进行下面的步骤。
步骤 s 240 , 生成新二维码图像。
用户确认二维码信息正确后, 则根据识别出的信息进行编码, 生成新 的二维码图像。 根据识别出的信息进行编码, 生成新的二维码图像包括: 步骤 s 241 , 根据二维码信息生成二进制流。
通过使用从原图像得到的二维码信息, 如编码参数, 生成二进制流。 对于 QR码, 这些编码参数包括数据编码方法、 版本、 糾错等级以及掩模 等。
步骤 s 242 , 根据二进制流生成新二维码图像。
新的二维码图像具有与原二维码图像相同的二维码信息, 但是图像更 加完整、 清楚。
步骤 s 250 , 储存新二维码图像。
移动终端存储的新二维码图像实现了在有损传播过程中对图像的再 生。 该图像通过有损方式进行传播时, 图像对应的二维码信息仍可以被识 别出。 例如, 移动终端通过拍照方式获得一个被扭曲的二维码图像, 如图 3 所示, 经过识别后得到结果为 asdf5g6h7j8k910(iwertyuiop, 用户确认该 信息正确后, 生成新的二维码图像, 如图 4所示。 用户将修复完好的二维 码图像进行保存, 该图像通过有损传播方式传播给其它用户后仍可以被识 别。
通过釆用本发明实施例提供的方法, 对二维码图像的二维码信息进行 识别后, 生成并储存新的二维码图像, 可以对用户终端通过有损方式获得 的二维码图像进行再生, 使得再生后的二维码图像可识别, 这样就避免了 二维码图像在有损方式的传播中, 被干扰信息淹没, 最终变得无法识别。
本发明实施例还提供一种获取二维码的终端, 如图 5所示, 包括: 图像识别单元 510, 用于识别二维码图像的二维码信息;
图像生成单元 520, 用于根据图像识别单元 510识别得到的二维码信 息生成新二维码图像;
图像储存单元 530,用于储存图像生成单元 520生成的新二维码图像。 通过釆用本发明实施例提供的终端, 对二维码图像的二维码信息进行 识别后, 生成并储存新的二维码图像, 可以对用户终端通过有损方式获得 的二维码图像进行再生, 使得再生后的二维码图像可识别。
本发明实施例提供一种获取二维码的终端, 如图 6所示, 包括: 码制选择单元 610, 用于通过样图选择与二维码图像对应的码制。 本发明实施例提供各种码制的样图, 用户不需要了解各个码制的具体 实现, 把获取到的二维码图形跟样图比较, 就可以知道该二维码的码制。 用户可以根据移动终端提供的码制名称或样图自行设定获得二维码的码 制, 或者由移动终端根据图像信息猜测出来。
图像识别单元 620, 用于根据码制选择单元 610选择的码制识别二维 码图像的二维码信息。
确认请求单元 630, 用于请求对图像识别单元 620识别的二维码信息 进行确认。
用户对移动终端显示的二维码信息进行确认。 如果用户确认移动终端 根据二维码图像识别出的二维码信息正确, 则可以继续。
图像生成单元 64 0 , 用于根据确认请求单元 6 30的确认结果生成新二 维码图像。
通过使用从原图像得到的二维码信息, 如编码参数, 生成二进制流; 进而生成新的二维码图像。 对于 QR码, 这些编码参数包括数据编码方法、 版本、 糾错等级以及掩模等。
图像储存单元 65 0 ,用于储存图像生成单元 640生成的新二维码图像。 移动终端存储的新二维码图像实现了在有损传播过程中对图像的再 生。 该图像通过有损方式进行传播时, 图像对应的二维码信息仍可以被识 别。
其中, 图像识别单元 62 0可包括:
定位子单元 621 ,用于根据二维码图像中包含的信息定位二维码图像。 二维码图像中设置有定位信息, 例如 QR码的三个角上有三个寻像图 形; 丽码上有寻界区; 中国 GM码将码图的识别模式与定位模式合二为一 并均匀地排列在码图中。
处理子单元 622 , 用于对二维码图像进行二值化处理。
二值化处理的目的是得到黑白比例保持较好的二值条码图像, 从而满 足正确译码的条件。
纠错子单元 62 3 , 用于对二维码图像的受损信息进行纠错。
移动终端可以利用各个标准纠错算法, 对二维码的信息进行校验, 对 于错误的部分, 进行一定的纠正。
显示子单元 624 , 用于显示二维码图像的二维码信息作为识别结果。 图像生成单元 640可包括:
二进制流生成子单元 641 , 用于根据二维码信息中的参数生成二进制 新图像生成子单元 642 , 用于根据二进制流生成新二维码图像。
通过釆用本发明实施例提供的终端, 对二维码图像的二维码信息进行 识别后, 生成并储存新的二维码图像, 可以对用户终端通过有损方式获得 的二维码图像进行再生, 使得再生后的二维码图像可识别, 这样就避免了 二维码图片在有损的扫描方式的传播中, 被干扰信息淹没, 最终变得无法 识别。
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本 发明可以通过硬件实现, 也可以借助软件加必要的通用硬件平台的方式来 实现。 基于这样的理解, 本发明的技术方案可以以软件产品的形式体现出 来, 该软件产品可以存储在一个非易失性存储介质(可以是 CD-ROM , U盘, 移动硬盘等) 中, 包括若干指令用以使得一台计算机设备(可以是个人计 算机, 服务器, 或者网絡设备等)执行本发明各个实施例所述的方法。
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明 的保护范围。凡在本发明的精神和原则之内, 所作的任何修改、等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求
1、 一种获取二维码的方法, 其特征在于, 包括:
识别二维码图像的二维码信息;
根据所述二维码信息生成新二维码图像;
储存所述新二维码图像。
2、 如权利要求 1所述的方法, 其特征在于, 所述根据所述二维码信息生 成新二维码图像之前还包括:
请求对所述二维码信息进行确认;
所述二维码信息正确时则继续, 否则进行错误提示。
3、 如权利要求 1所述的方法, 其特征在于, 所述识别二维码图像的二维 码信息包括:
根据所述二维码图像中包含的信息定位所述二维码图像;
对所述二维码图像进行二值化处理;
对所述二维码图像的受损信息进行纠错;
显示所述二维码图像的二维码信息作为识别结果。
4、 如权利要求 1所述的方法, 其特征在于, 所述根据所述二维码信息生 成新二维码图像包括:
根据所述二维码信息中的参数生成二进制流, 所述二维码信息中的参数 包括数据编码方法、 版本、 纠错等级中的一种或多种;
根据所述二进制流生成所述新二维码图像。
5、 如权利要求 1所述的方法, 其特征在于, 所述识别二维码图像的二维 码信息之前还包括:
通过样图选择与所述二维码图像对应的码制, 所述码制为美国便携数据 文件码, 或日本快速反应码, 或韩国数据矩阵码, 或中国网格矩阵码。
6、 一种获取二维码的终端, 其特征在于, 包括:
图像识别单元, 用于识别二维码图像的二维码信息; 图像生成单元, 用于根据所述图像识别单元识别的所述二维码信息生成 新二维码图像;
图像储存单元, 用于储存所述图像生成单元生成的所述新二维码图像。
7、 如权利要求 6所述的终端, 其特征在于, 还包括:
确认请求单元, 用于请求对所述二维码信息进行确认。
8、 如权利要求 6所述的终端, 其特征在于, 所述图像识别单元包括: 定位子单元, 用于根据所述二维码图像中包含的信息定位所述二维码图 像;
处理子单元, 用于对所述二维码图像进行二值化处理;
纠错子单元, 用于对所述二维码图像的受损信息进行纠错;
显示子单元, 用于显示所述二维码图像的二维码信息作为识别结果。
9、 如权利要求 6所述的终端, 其特征在于, 所述图像生成单元包括: 二进制流生成子单元,用于根据所述二维码信息中的参数生成二进制流, 所述二维码信息中的参数包括数据编码方法、 版本、 纠错等级中的一种或多 种;
新图像生成子单元, 用于根据所述二进制流生成新二维码图像。
10、 如权利要求 6所述的终端, 其特征在于, 还包括:
码制选择单元, 用于通过样图选择与所述二维码图像对应的码制, 所述 码制为美国便携数据文件码, 或日本快速反应码, 或韩国数据矩阵码, 或中 国网格矩阵码。
PCT/CN2009/071079 2008-08-14 2009-03-30 获取二维码的方法和终端 WO2010017709A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA200810147062XA CN101339599A (zh) 2008-08-14 2008-08-14 一种获取二维码的方法和终端
CN200810147062.X 2008-08-14

Publications (1)

Publication Number Publication Date
WO2010017709A1 true WO2010017709A1 (zh) 2010-02-18

Family

ID=40213665

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071079 WO2010017709A1 (zh) 2008-08-14 2009-03-30 获取二维码的方法和终端

Country Status (2)

Country Link
CN (1) CN101339599A (zh)
WO (1) WO2010017709A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424462A (zh) * 2013-09-06 2015-03-18 苏州绿展软件科技有限公司 基于移动终端的展会信息交互方法
CN109902527A (zh) * 2019-02-26 2019-06-18 凌云光技术集团有限责任公司 一种qr码自动识读方法和装置
CN109960957A (zh) * 2017-12-26 2019-07-02 阿里巴巴集团控股有限公司 残缺二维码及其生成、修复和识别方法、装置及系统
CN112036203A (zh) * 2020-09-01 2020-12-04 前海新美思科技(深圳)有限公司 一种受保护二维码的信息追踪方法

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339599A (zh) * 2008-08-14 2009-01-07 深圳华为通信技术有限公司 一种获取二维码的方法和终端
WO2012113192A1 (zh) * 2011-02-23 2012-08-30 深圳市融创天下科技股份有限公司 一种二维码生成和识别的方法、装置、系统和终端设备
CN103164662B (zh) * 2011-12-08 2016-06-29 北大医疗信息技术有限公司 一种存储和读取信息的方法及设备
CN103377390B (zh) * 2012-04-26 2016-12-07 阿里巴巴集团控股有限公司 二维码的生成、识别方法和装置
CN103778400A (zh) * 2012-10-25 2014-05-07 河南盛唐信息技术有限公司 一种自动修复识别二维码码图符号的解码方法及其设备
CN104090803A (zh) * 2014-07-14 2014-10-08 山东超越数控电子有限公司 一种通过bios显示二维码图片的方法
EP3224766B1 (en) 2014-11-25 2021-08-11 Infotoo International Limited Information bearing devices
CN109977720B (zh) * 2019-03-28 2021-07-20 尤尼泰克(嘉兴)信息技术有限公司 一种快速解析二维码图像的方法及装置
CN109978093A (zh) * 2019-03-28 2019-07-05 尤尼泰克(嘉兴)信息技术有限公司 一种基于二维码的信息传播方法
CN110363721B (zh) * 2019-07-10 2021-11-09 成都极米科技股份有限公司 目标区域信息生成方法、目标图案处理方法及系统
CN110781985B (zh) * 2019-09-04 2023-07-07 杭州利项科技有限公司 一种基于二维码的数据结构化系统
CN113468446B (zh) * 2021-07-14 2023-08-01 重庆允丰科技有限公司 一种支持识别第三方二维码数据的方法、系统及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998048373A1 (en) * 1997-04-24 1998-10-29 United Parcel Service Of America, Inc. System and method for ocr assisted bar code decoding
JPH11338964A (ja) * 1998-05-25 1999-12-10 Toshiba Tec Corp 情報コード読取作成装置
CN1752997A (zh) * 2004-09-22 2006-03-29 毛山 具有二维条码名片处理功能的扫描系统
CN101339599A (zh) * 2008-08-14 2009-01-07 深圳华为通信技术有限公司 一种获取二维码的方法和终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998048373A1 (en) * 1997-04-24 1998-10-29 United Parcel Service Of America, Inc. System and method for ocr assisted bar code decoding
JPH11338964A (ja) * 1998-05-25 1999-12-10 Toshiba Tec Corp 情報コード読取作成装置
CN1752997A (zh) * 2004-09-22 2006-03-29 毛山 具有二维条码名片处理功能的扫描系统
CN101339599A (zh) * 2008-08-14 2009-01-07 深圳华为通信技术有限公司 一种获取二维码的方法和终端

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424462A (zh) * 2013-09-06 2015-03-18 苏州绿展软件科技有限公司 基于移动终端的展会信息交互方法
CN109960957A (zh) * 2017-12-26 2019-07-02 阿里巴巴集团控股有限公司 残缺二维码及其生成、修复和识别方法、装置及系统
CN109902527A (zh) * 2019-02-26 2019-06-18 凌云光技术集团有限责任公司 一种qr码自动识读方法和装置
CN109902527B (zh) * 2019-02-26 2022-06-07 凌云光技术股份有限公司 一种qr码自动识读方法和装置
CN112036203A (zh) * 2020-09-01 2020-12-04 前海新美思科技(深圳)有限公司 一种受保护二维码的信息追踪方法
CN112036203B (zh) * 2020-09-01 2023-03-10 前海新美思科技(深圳)有限公司 一种受保护二维码的信息追踪方法

Also Published As

Publication number Publication date
CN101339599A (zh) 2009-01-07

Similar Documents

Publication Publication Date Title
WO2010017709A1 (zh) 获取二维码的方法和终端
US8948445B2 (en) Embedding visual information in a two-dimensional bar code
US11238255B2 (en) Method, device, and system for generating, repairing, and identifying an incomplete QR code
Piva An overview on image forensics
WO2019072127A1 (zh) 基于二维码扫描识别的执法记录仪及全程音视频记录方法
JP5262869B2 (ja) 画像処理システム、画像処理サーバ、mfp及び画像処理方法
WO2019161809A1 (zh) 基于4g/5g网络和二维码扫描识别的记录系统及方法
CN108665041B (zh) 二维码生成及识别方法、装置、计算机设备及存储介质
WO2014044159A1 (en) Method and device for batch scanning 2d barcodes
WO2014194825A1 (zh) 移动终端处理可视化图形编码的方法和装置
WO2019072126A1 (zh) 基于二维码扫描识别的全过程音视频记录系统及使用方法
TW200915193A (en) Techniques for decoding images of barcodes
WO2006136958A2 (en) System and method of improving the legibility and applicability of document pictures using form based image enhancement
US9342714B2 (en) Method for reproducing and using a bar code symbol
CN106991422B (zh) 字符切割方法、装置及计算机可读存储介质和电子设备
JP4173994B2 (ja) 画像に埋め込まれたハーフトーン変調の検出
JP2011014012A (ja) 2次元コード読取方法、2次元コード抽出方法、2次元コード認識方法及び2次元コード読取装置
CN112070649A (zh) 一种去除特定字符串水印的方法及系统
CN115660933B (zh) 一种水印信息的识别方法、装置及设备
CN108304815A (zh) 一种数据获取方法、装置、服务器及存储介质
US10643097B2 (en) Image processing apparatuses and non-transitory computer readable medium
CN106384071A (zh) 一种二维码扫描识别处理方法及装置
CN116029777A (zh) 一种防伪单据生成方法、装置、设备及介质
CN112364676A (zh) 图像码的处理方法、装置、电子设备及存储介质
CN111797645A (zh) 用于识别条形码的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09806312

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09806312

Country of ref document: EP

Kind code of ref document: A1