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

Two-dimensional bar code initial positioning method

A two-dimensional barcode and initial positioning technology, which is applied in the field of image processing, can solve problems such as uneven illumination, blurring, and difficulty in identifying two-dimensional barcodes, and achieve the effects of uneven illumination, reduced calculations, and faster overall recognition efficiency

Pending Publication Date: 2020-01-21
SUN YAT SEN UNIV
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a two-dimensional barcode in order to overcome the technical defect that it is difficult to identify two-dimensional barcodes due to the limitations of shooting equipment and shooting scenes in the identification process of existing two-dimensional barcodes due to reasons such as uneven illumination, blurring, and distortion. Barcode initial positioning method

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 bar code initial positioning method
  • Two-dimensional bar code initial positioning method
  • Two-dimensional bar code initial positioning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, a two-dimensional barcode initial positioning method includes the following steps:

[0050] S1: Collect the original image containing the two-dimensional barcode captured by the camera and preprocess the original image;

[0051] S2: Downsampling the preprocessed images with different resolutions;

[0052] S3: Use the improved Bernsen local binarization algorithm to process the down-sampled image to obtain a Min-Max binarization image;

[0053] S4: Create a corresponding integral map based on the binarized image, count the number of foreground in the window, and filter out scattered foreground pixels;

[0054] S5: Calculate the candidate rectangular area through the edge detection operator, extract the edge of the candidate rectangular area, calculate the direction gradient histogram EOH of the edge point in the window, and map the coordinates of the candidate area that meet the feature judgment to On the grayscale image of the original size...

Embodiment 2

[0083] More specifically, on the basis of Example 1, with figure 2 The most common QR code shown is taken as an example to further describe the present invention in detail.

[0084] In the specific implementation process, the gray-scale transformation is performed on the color RGB image containing the two-dimensional barcode captured by the input camera to reduce the amount of calculation in the later stage. The specific calculation formula is:

[0085] Gray=0.3R+0.59G+0.11B

[0086] Then, the 3*3 median filter is used for denoising processing. Experiments have proved that the 3*3 median filter can effectively eliminate the noise caused by camera shooting.

[0087] In the specific implementation process, the adaptive downsampling interval m and n are calculated, and for pictures with different resolutions, according to the aspect ratio of the original picture, the pictures are uniformly downsampled to pictures within 100*100. The specific calculation formula is:

[0088] ...

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 two-dimensional bar code initial positioning method. The two-dimensional bar code initial positioning method comprises the steps of preprocessing an original two-dimensional bar code image and performing down-sampling processing; utilizing a binarization algorithm to process the image after down-sampling processing to obtain a Min-Max binarization picture; establishing a corresponding integral graph according to the binarized picture, and calculating to obtain candidate rectangular regions through an edge detection operator; calculating a direction gradient histogram EOH of edge points in the window, mapping candidate area coordinates meeting feature judgment to a grey-scale map of an original size through EOH feature judgment, outputting an approximate area of thetwo-dimensional bar code, and completing initial positioning operation. The invention provides a two-dimensional bar code initial positioning method. The method realizes rapid adaptive separation, and the approximate area image of the two-dimensional bar code is extracted, calculation amount of subsequent processing is effectively reduced, and integral identification efficiency is improved. The method is suitable for being transplanted to an embedded real-time system, and uneven and fuzzy illumination for actual shooting and even initial positioning of the two-dimensional bar code image are realized.

Description

technical field [0001] The present invention relates to the technical field of image processing, and more specifically, to a two-dimensional barcode initial positioning method. 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 two-dimensional barcode has played the role of identification and anti-counterfeiting. The barcode technology has emerged in time and has been widely used in various fields such as production, warehousing, logistics, sales, finance, and medical care. Life. However, in practical application scenarios, the image to be recognized is limited by the shooting equipment and the shooting scene, often due to uneven lighting, blurring, distortion and other reasons, which cause great difficulties in 2D barcode recognition. How to quickly and effectively identify uneven, blurred, and distorted two-dimensional ba...

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): G06K9/46G06K9/48
CPCG06V10/443G06V10/50G06V10/462G06V10/476G06V10/46
Inventor 谭洪舟肖逢枝陈荣军谢舜道朱雄泳曾衍瀚
Owner SUN YAT SEN UNIV