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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com