Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for repairing defaced two-dimensional code based on machine learning

A repair method and machine learning technology, applied in the field of image processing, can solve problems such as failure to read QR codes, affect service quality, wear and tear of QR codes, etc., and achieve the effect of improving recognition speed and ability

Active Publication Date: 2021-07-16
SUN YAT SEN UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In recent years, with the development of the Internet era, the sharing economy has entered people's lives, and various shared products can be seen everywhere in life, such as shared bicycles, shared charging treasures, shared umbrellas, etc. Due to the low cost, shared products often choose QR code as the unique identification of the product; however, in the process of product circulation, due to various environmental and human factors, the two-dimensional code is worn out, and in severe cases, the reading of the two-dimensional code will fail. ultimately affect the quality of service
[0004] At present, the scanning equipment and software on the market do not have the function of repairing defaced QR codes; for defaced QR codes, it is generally corrected with redundant information during the reading process by using the error correctability of the QR code Error information caused by defacement; the effect of this error correction method is determined by the error correction level of the two-dimensional code; generally speaking, when the amount of information to be encoded is constant, the higher the error correction level, the more redundant information after encoding. The more, the larger the area of ​​the coded QR code, and the stronger the anti-fouling effect; the premise of the correct reading of the QR code is that the positioning pattern is intact. Once the positioning pattern is worn, no matter how high the error correction level is, the scanning device still cannot correct it. read QR code

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 system for repairing defaced two-dimensional code based on machine learning
  • Method and system for repairing defaced two-dimensional code based on machine learning
  • Method and system for repairing defaced two-dimensional code based on machine learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0046] figure 1 It is a schematic flow diagram of the method for repairing the defaced two-dimensional code in the embodiment of the present invention, such as figure 1 As shown, the defaced two-dimensional code repair method includes:

[0047] S11: Perform grayscale processing on the acquired color two-dimensional code image, and convert it into a grayscale two-dimensional code image;

[0048] In the specific implementation process of the present invention, ther...

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 discloses a method and system for repairing a defaced two-dimensional code based on machine learning, wherein the method for repairing a defaced two-dimensional code includes: performing grayscale processing on the acquired color two-dimensional code image and converting it into gray two-dimensional code image; gray-scale enhancement processing is carried out to the gray-scale two-dimensional code image, and the gray-scale two-dimensional code image after the enhancement process is obtained; the gray-scale two-dimensional code image after the enhanced processing is obtained by using the trained SVM model Carry out two-dimensional code area positioning processing to obtain an image of the two-dimensional code area; use a trained image restoration model to perform repair processing on the defaced two-dimensional code in the two-dimensional code area, and obtain the repaired two-dimensional code image. During the implementation of the present invention, the defaced two-dimensional code can be quickly repaired, and the speed and ability of the scanning gun to recognize the defaced two-dimensional code can be improved.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a method and system for repairing a damaged two-dimensional code based on machine learning. Background technique [0002] A two-dimensional code is a kind of conformity that realizes information storage by arranging a specific geometric model in a specified code on a two-dimensional plane; the two-dimensional code has the functions of error correction and positioning, and the scanning instrument can scan the two-dimensional code under different angles of light. The common two-dimensional codes include QR code, PDF417 code, Data matrix, etc. Among them, the QR code is the most popular. [0003] In recent years, with the development of the Internet era, the sharing economy has entered people's lives, and various shared products can be seen everywhere in life, such as shared bicycles, shared charging treasures, shared umbrellas, etc. Due to the low cost, shared products of...

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 Patents(China)
IPC IPC(8): G06K7/14G06K9/20G06K9/62
CPCG06K7/1417G06K7/1443G06V10/22G06F18/2411G06F18/214
Inventor 胡建国邓成谦黄家诚李仕仁
Owner SUN YAT SEN UNIV