Method and device for identifying two-dimensional code, and terminal

A two-dimensional code and terminal technology, applied in the field of two-dimensional code recognition, can solve the problem of increasing the error probability in the two-dimensional code identification process, and achieve the effect of reducing the number of conversion operations and reducing the error probability.

Active Publication Date: 2017-07-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Both the positioning operation and the normalization operation need to transform the shape and orientation of the two-dimensional code, and performing multiple transformation operations on the two-dimensional code will increase the error probability of the two-dimensional code recognition process

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
  • Method and device for identifying two-dimensional code, and terminal
  • Method and device for identifying two-dimensional code, and terminal
  • Method and device for identifying two-dimensional code, and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] With the widespread use of QR codes, users expect to be able to insert images into the QR code. The image may be, for example, a user-defined avatar or LOGO.

[0046] Such as figure 1 As shown, the traditional two-dimensional code technology will insert the user's avatar in the middle area of ​​the two-dimensional code, and add some extended patterns on the periphery of the two-dimensional code.

[0047] Inserting an image into a two-dimensional code will block part of the code elements of the two-dimensional code. In the process of recognizing the two-dimensional code, it is necessary to use the error correction function of the two-dimensional code to correct the blocked part, which reduces the error of the two-dimensional code. recognition efficiency.

[0048]For ease of understanding, a traditional two-dimensional code (such as a quick response (quick response, QR) code) is firstly introduced.

[0049] A traditional two-dimensional code is generally set in a two-d...

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 invention provides a method and a device for identifying a two-dimensional code, and a terminal. The two-dimensional code comprises an image region and an encoding region, and the image region and the encoding region do not overlap with each other. The method comprises the steps of: selecting pixels contained in a code element in the encoding region from pixels of the two-dimensional code; determining a value of the code element in the encoding region according to the pixels contained in the code element in the encoding region; and identifying the two-dimensional code according to the value of the code element in the encoding region. Compared with the traditional scheme, the method, the device and the terminal can reduce the error probability in the two-dimensional code identification process.

Description

technical field [0001] The present application relates to the field of two-dimensional code recognition, and more specifically, to a method, device and terminal for recognizing two-dimensional codes. Background technique [0002] Traditional two-dimensional codes are rectangular two-dimensional codes. Before recognizing traditional two-dimensional codes, not only the two-dimensional codes need to be positioned, but also the two-dimensional codes need to be normalized. The normalization operation refers to mapping the two-dimensional code into a standard rectangular image, so that each symbol of the two-dimensional code corresponds to a pixel in the rectangular image. In the process of recognizing the two-dimensional code, as long as the recognition of the rectangular image The value of one code element of the QR code can be determined by the color of one pixel. [0003] Both the positioning operation and the normalization operation need to transform the shape and orientatio...

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): G06K7/14
CPCG06K7/1417G06K7/1421G06K19/06037G06K7/015G06K7/1473
Inventor 许典平林榆耿冉辰李晶晶王泓扬翁乐腾陈浩
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products