A kind of qr code positioning and identification method
A technology of positioning method and recognition method, which is applied in the field of image recognition, can solve problems such as high restriction recognition efficiency, and achieve the effect of reducing image requirements and accurate geometric distortion correction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] A QR code positioning method, comprising the following steps:
[0059] (1) Image acquisition and preprocessing: acquire the grayscale image of the QR code to be detected, and use the maximum inter-class variance method to perform binarization processing on the collected QR code graphics to obtain the binarized image of the QR code, such as image 3 shown;
[0060] (2) Judgment of positioning graphic coordinates: in the QR code binary image obtained in step (1), according to connected domain extraction, rectangularity analysis and island feature judgment, extract three positioning graphic coordinates of QR code, the specific steps are as follows:
[0061] (2-1) connected domain extraction: the QR code binarization image obtained in step (1), adopts the regional seed growth method to carry out connected domain analysis, and extracts the connected domain of black pixels;
[0062] (2-2) Rectangularity analysis: For each connected domain of black pixels obtained in step (2-...
Embodiment 2
[0067] A method for identifying a QR code, comprising the steps of:
[0068] S1. Perform positioning according to the described QR code positioning method, and obtain a QR code positioning image in the binarized image of the QR code according to the positioning result;
[0069] S2. For the QR code positioning image obtained in step S1, perform multiple erosion and expansion operations on the entire graphic, eliminate the color difference between the black and white modules of the QR code, and finally obtain a unified black area, such as Figure 4 shown. Then use the canny operator to detect the edge, get the QR code edge, the edge of the image is a white point, such as Figure 5 shown.
[0070] S3. For the QR code edge obtained in step S2, obtain the four sides of the QR code through an edge algorithm, and calculate the intersection point of the four sides as a distortion control point; the edge algorithm is an edge tracking algorithm or a point scanning algorithm. The conc...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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