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

A rapid response matrix two-dimensional code recognition method for clothing

A matrix two-dimensional code, fast response technology, applied in the direction of electromagnetic radiation induction, etc., can solve the problems of QRCode image offset, unable to smoothly locate the position of QRCode image-finding graphics, susceptible to external factors, etc.

Inactive Publication Date: 2016-11-16
DONGHUA UNIV
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] QR Code (quick response matrix two-dimensional code, referred to as QR code) is a common two-dimensional code, which can only be read by image recognition, and image recognition is easily affected by external factors, such as uneven light, If it is too dark, it will cause noise in the image captured by the CCD camera
In addition, when obtaining the QR Code image data, the QR Code image may be shifted due to the different placement positions, and the position of the QR Code image-finding graphic cannot be smoothly located, and the sampling grid is directly established

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
  • A rapid response matrix two-dimensional code recognition method for clothing
  • A rapid response matrix two-dimensional code recognition method for clothing
  • A rapid response matrix two-dimensional code recognition method for clothing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] The following is attached figure 2 , 5 , 8, 11, and 14 introduce an embodiment of the present invention, which corrects the QR matrix two-dimensional code image collected on the clothing material to the correct recognition direction with a leftward deviation of less than 90°.

[0068] Convert the collected color image into a 256-color grayscale image according to grayscale=0.3*red component+0.59*green component+0.11*blue component, and use the maximum inter-class variance to find the best segmentation threshold T=82, set The grayscale value of each pixel of the above grayscale image is compared with the threshold value. If it is greater than the threshold value, it will be assigned a value of 255. If it is less than the threshold value, it will be assigned a value of 0 and converted into a binary image, such as figure 2 shown.

[0069] Then use the Sobel edge detection operator to extract the edge of the binarized image, and use the 3*3 horizontal template and the 3...

Embodiment 2

[0078] The following is attached image 3 , 6 , 9, 12, and 15 introduce an embodiment of the present invention, and correct the quick response matrix two-dimensional code image collected on the clothing material to the right with a deviation greater than 90° to the correct recognition direction. The method used in this embodiment and Example 1 is the same.

[0079] According to the same method as in Example 1, the color image collected is converted into a binary image, such as image 3 shown. The Sobel edge detection operator is used to extract the edge of the binarized image, and the image after the edge extraction is projected in the horizontal direction, that is, the X-axis direction, and the vertical direction, that is, the Y-axis direction, and then scanned from four directions: up, down, left, and right. , determine the coordinate positions of the four vertices A, B, C, and D of the QR code in the image (x A ,y A ), (x B ,y B ), (x C ,y C ), (x D,y D ), and ca...

Embodiment 3

[0081] The following is attached Figure 4 , 7 , 10, 13, and 16 introduce an embodiment of the present invention, correcting the QR matrix two-dimensional code image shifted to the right by 180° collected on the clothing material to the correct recognition direction, the method and implementation used in this embodiment Example 1 is the same.

[0082] According to the same method as in Example 1, the color image collected is converted into a binary image, such as Figure 4 As shown, the Sobel edge detection operator is used to extract the edge of the binarized image. The image after edge extraction is projected in the horizontal direction, that is, the X-axis direction, and the vertical plane direction, that is, the Y-axis direction, and then scanned from four directions, up, down, left, and right, to determine the four vertices A, B, and B of the QR code of the quick response matrix. The coordinate positions of C and D in the image (x A ,y A ), (x B ,y B ), (x C ,y 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 invention discloses a garment QD code recognition method. The method includes the following steps that firstly, a two-dimension code image attached to a garment raw material is collected; secondly, the image is subjected to graying, fast median filtering and binarization processing; thirdly, the image having been subjected to binarization processing is subjected to edge extraction; fourthly, two side edge regions obtained after edge extraction of a QR code are separated out; fifthly, Hough transform is adopted to detect a side-edge imaginary line so as to obtain the deviation angle of the QR code; sixthly, the image having been subjected to binarization processing is rotated according to the bilinear interpolation method, and initial correction is carried out; seventhly, the QR code is positioned, the sequence of three view finding images is determined, and the QR code is adjusted to have a correct orientation according to the image matrix transposition turning method; eighthly, decoding is carried out according to the national two-dimension code standard. According to the method, due to the combination of projection cutting and the Hough transform method, the deviation angle of the QR code can be quickly and accurately acquired, the collected image is immune from noise pollution and uneven illumination, and the two-dimension code image easy to identify can be obtained through transform.

Description

technical field [0001] The invention discloses a quick response matrix two-dimensional code recognition method for clothing, in particular to a two-dimensional code recognition method for offset correction of the fast response matrix two-dimensional code for clothing. Background technique [0002] Modern people pay attention to fashion and individuality in dressing. The clothing industry, especially fashion manufacturers, must also follow a large-scale and small-batch production route. The types of goods in and out of warehouses and the frequency of shipments will continue to increase. If the work still follows the traditional manual invoicing and manual ordering, its efficiency and accuracy cannot be guaranteed, the financial department may receive wrong documents, and the management department cannot obtain the required inventory data in a timely and accurate manner . [0003] Barcode technology is currently one of the most convenient and practical means of data input, an...

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/10
Inventor 丁永生罗世操郝矿荣曹苑芊
Owner DONGHUA UNIV
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