Batch QR code image extraction method and system

An extraction method and a QR code technology, applied in the field of image processing, can solve problems such as the inability to quickly and effectively identify and segment batch QR code images, and the QR code recognition method is difficult to apply to batch QR code recognition scenarios, so as to speed up the overall recognition efficiency, The effect of improving robustness

Active Publication Date: 2020-08-28
SUN YAT SEN UNIV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a batch QR code image extraction method and system to solve the problem that the existing QR code recognition method is difficult to apply to batch QR code recognition scenarios, and cannot quickly and effectively identify and segment batch QR code images

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
  • Batch QR code image extraction method and system
  • Batch QR code image extraction method and system
  • Batch QR code image extraction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] A batch QR code image extraction method, such as figure 1 shown, including the following steps:

[0051] S1. For inputting a high-resolution image to be segmented containing multiple QR codes, refer to figure 2 , and perform preprocessing on it; preprocessing mainly includes conventional image preprocessing operations such as RGB grayscale transformation, 3*3 median filter, and edge enhancement to compress the amount of data and eliminate the influence of noise on subsequent algorithm processing.

[0052]Among them, the image to be segmented is converted to RGB grayscale using formula 1 to obtain a grayscale image grayImage:

[0053] grayImage=0.30R+0.59G+0.11B(1)

[0054] Among them, the R, G, and B values ​​are the grayscale values ​​corresponding to the three channels of the input color image. Followed by conventional preprocessing operations such as filtering and denoising to compress the amount of data and eliminate the impact of noise on subsequent algorithm p...

Embodiment 2

[0088] A batch QR code image segmentation system, such as Figure 11 shown, including:

[0089] A preprocessing module is used to obtain images to be segmented that contain multiple QR codes and preprocess them;

[0090] The edge image acquisition module, for the image obtained by the preprocessing module, adopts the edge detection method to extract its edge gradient value, and obtains the edge image by truncation and normalization;

[0091] The block size determination module is used to initialize the block size, iteratively obtains the block feature of the edge image, and determines the optimal block size

[0092] The candidate rectangular frame set acquisition module is used to divide the edge image into blocks with the optimal block size, calculate the optimal block feature and feature segmentation threshold, mark the block clustering to obtain the candidate rectangular frame set, and pass the preset The filter conditions of the candidate rectangles are used to filter th...

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 batch QR code image extraction method and system, and the method comprises the steps: firstly carrying out the gray scale transformation and filtering denoising of a high-resolution image which is actually photographed and comprises a plurality of QR codes; extracting an edge gradient value by adopting an edge detection method, and obtaining an edge image through truncation normalization; setting an initial value of the block size, and determining the optimal block size after iterative search; carrying out partitioning, feature calculation and threshold segmentation again according to the optimal partitioning size, obtaining a candidate rectangular frame set through marking block clustering, and removing rectangular frames which obviously do not meet the QR code area features through screening; and finally, through a compressed and trained lightweight and high-performance mobile Net series classifier, judging whether a candidate box contains a QR code patternor not, removing a background rectangular box, and separating out a corresponding region in an original image to finish operations of segmenting and extracting the QR code pattern.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a batch QR code image extraction method and system. Background technique [0002] With the advancement of technology and the development of society, the Internet of Everything has become a trend in the new era. As the label of the Internet of Things, the barcode technology, which plays the role of identification and anti-counterfeiting, has emerged in time and has been widely used in various fields such as production, warehousing, logistics, sales, finance, and medical care, subtly affecting people's lives. [0003] However, in some specific application scenarios, for example, for small items on the industrial assembly line, such as medicines, vaccine reagents, etc., the traditional serial assembly line can no longer meet the requirements of this scenario; in clinical medicine, a large number of blood samples are Labeling and warehousing operations are required;...

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/14G06T7/11G06T7/136G06T7/13G06K9/62
CPCG06K7/1417G06T7/11G06T7/136G06T7/13G06F18/24
Inventor 谭洪舟肖逢枝陈荣军谢舜道朱雄泳曾衍瀚
Owner SUN YAT SEN UNIV
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