Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Two-dimensional code generating, decoding and recognizing method, device and equipment

A two-dimensional code and a technology for generating two-dimensional codes, applied in the computer field, can solve the problems of low recognition accuracy and excessively large size of the two-dimensional code, and achieve the effects of less structure, fewer points, and high-precision detection and identification.

Active Publication Date: 2020-06-16
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, one or more embodiments of this specification provide a two-dimensional code generation, decoding, identification method, device and equipment, which are used to effectively solve the existing problems of large two-dimensional code size and low recognition accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Two-dimensional code generating, decoding and recognizing method, device and equipment
  • Two-dimensional code generating, decoding and recognizing method, device and equipment
  • Two-dimensional code generating, decoding and recognizing method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] figure 1 This is a schematic flow diagram of a method for generating a QR code in an embodiment of this specification. From a program perspective, the execution subject of a process can be a program or an application client loaded on an application server.

[0075] Such as figure 1 As shown, the process can include the following steps:

[0076] Step 102: Obtain the binary sequence corresponding to the product information of the two-dimensional code to be generated.

[0077] In actual application scenarios, the two-dimensional code here can be a dot matrix code, which can be distributed in a two-dimensional direction with specific geometric figures according to the arrangement law, and a black and white dot matrix is ​​used to record data symbol information. Information such as Chinese characters, numbers and pictures can be stored in the QR code.

[0078] In actual application scenarios, the product information corresponding to the product can be stored in the QR code, such as...

Embodiment 2

[0122] Figure 4 This is a schematic flowchart of a method for decoding a two-dimensional code in an embodiment of this specification. From a program perspective, the execution subject of a process can be a program or an application client loaded on an application server.

[0123] It should be noted that the decoding process in Embodiment 2 corresponds to the encoding process in Embodiment 1. For example, the coding algorithm in Embodiment 1 should correspond to the decoding algorithm in Embodiment 2. It is assumed that the BCH algorithm is used for product information Perform encoding to obtain a binary sequence, then, when decoding, the BCH algorithm should also be used to decode the binary sequence to obtain product information.

[0124] Such as Figure 4 As shown, the process can include the following steps:

[0125] Step 402: Obtain the image information of the two-dimensional code to be identified. The image area of ​​the two-dimensional code to be identified includes a first ...

Embodiment 3

[0154] Figure 5 This is a schematic flow diagram of a two-dimensional code recognition method in the embodiment of this specification. From a program perspective, the execution subject of a process can be a program or an application client loaded on an application server.

[0155] Such as figure 1 As shown, the process can include the following steps:

[0156] Step 502: Obtain an image to be recognized.

[0157] The image to be recognized can be an image containing a QR code and background. For example, in a smart container scene, the image taken by the fisheye camera in the smart container can be used as the image to be recognized. The image to be recognized can include a QR code, two The carrier to which the dimensional code is attached and the environmental information around the carrier, etc.

[0158] Step 504: Use a detection model to detect the image to be identified, and determine that the image to be identified contains the two-dimensional code image of the two-dimensional c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a two-dimensional code generation, decoding and recognition method, device and equipment. According to the scheme, the method comprises the steps of obtaininga binary sequence corresponding to commodity information of a to-be-generated two-dimensional code; determining a pixel value of each effective information bit in the generation area of the two-dimensional code according to the binary sequence; generating a two-dimensional code according to the pixel value of the effective information bit and the known pixel value of the positioning point position; when the generated two-dimensional code is recognized, a to-be-recognized image containing the two-dimensional code is acquired, and a two-dimensional code image is detected from the to-be-recognized image by adopting the detection model; an recognition model is adopted to identify the image information of the two-dimensional code in the two-dimensional code image, and the pixel value of the effective information bit of the two-dimensional code is determined from the image information of the two-dimensional code; generating a binary sequence according to the pixel value; and decoding the binary sequence to obtain the commodity information stored in the effective information bit.

Description

Technical field [0001] One or more embodiments of this specification relate to the field of computer technology, and in particular to a method, device, and device for generating, decoding, and identifying a two-dimensional code. Background technique [0002] At present, with the development of Internet technology, QR codes have become a popular encoding method on mobile devices. The application of QR codes has become more and more common in life, such as: launching QR code business cards, using QR codes for identification, using QR codes for product traceability or automatic vending, using QR codes to customize electronic ticketing , Movie tickets, attraction tickets, etc. [0003] In practical applications, the two-dimensional code can be attached to the outer packaging of the product, and the user can identify the product information contained in the two-dimensional code by scanning the two-dimensional code. In order to identify the product information in the two-dimensional co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K19/06G06K7/14
CPCG06K19/06037
Inventor 陈超周大江赵雄心
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products