Method and equipment for identifying two-dimension code
A two-dimensional code and seed point technology, applied in the field of two-dimensional code recognition, can solve the problems of two-dimensional code position detection graphic error, two-dimensional code recognition failure, incorrect area of two-dimensional code, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] An embodiment of the present invention provides a method for identifying a two-dimensional code, such as Figure 4 As shown, the method may include:
[0071] S101. Determine n center of gravity points of n first regions, wherein each first region includes a center of gravity point, and the n first regions are overlapping regions of horizontal regions and vertical regions in the two-dimensional code image to be recognized, and the horizontal region is the area in which the ratio of the width of the black area to the width of the white area in the horizontal direction is the first preset ratio, and the vertical area is the area in which the ratio of the width of the black area to the width of the white area in the vertical direction is the first preset ratio, The two-dimensional code image at least includes the area where the two-dimensional code is located, n≥3, and n is an integer.
[0072] Wherein, the image of the two-dimensional code to be recognized can be understo...
Embodiment 2
[0108] An embodiment of the present invention provides a method for identifying a two-dimensional code, such as Image 6 As shown, the method may include:
[0109] S201. Acquire a two-dimensional code image.
[0110] Specifically, the two-dimensional code image can be obtained through various image scanning devices, for example, the two-dimensional code to be recognized can be captured by a mobile phone, a camera, a scanner and other devices with a shooting function, so as to obtain the two-dimensional code image.
[0111] S202. Perform image preprocessing on the two-dimensional code image.
[0112] After the two-dimensional code image is acquired, image preprocessing may be performed on the two-dimensional code image, so as to simplify the data in the process of recognizing the two-dimensional code and improve the reliability of recognizing the two-dimensional code.
[0113] Specifically, performing image preprocessing on the two-dimensional code image may include the follo...
Embodiment 3
[0168] like Figure 9 As shown, the embodiment of the present invention provides a two-dimensional code recognition device, including:
[0169] The determining unit 10 is configured to determine n center of gravity points of n first areas, wherein each first area includes a center of gravity point, and the n first areas are horizontal areas and vertical areas in the two-dimensional code image to be recognized , the horizontal area is an area in which the ratio of the width of the black area to the width of the white area in the horizontal direction is the first preset ratio, and the vertical area is the ratio of the width of the black area to the width of the white area in the vertical direction The ratio is the area of the first preset ratio, the two-dimensional code image at least includes the area where the two-dimensional code is located, n≥3, and n is an integer.
[0170] The determination unit 10 is further configured to determine the center of gravity of the position...
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