Two-dimensional code recognition method and device
An identification method and two-dimensional code technology, applied in electromagnetic radiation induction, instruments, induction record carriers, etc., can solve the problems of inability to scan the two-dimensional code, defective two-dimensional code, improper shooting angle, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0093] The embodiment of the present application provides a two-dimensional code recognition method, such as figure 1 As shown, it is a schematic flow chart of the two-dimensional code recognition method provided in the embodiment of the present application, including the following steps:
[0094] S101. Acquire an image to be processed.
[0095] Wherein, the image to be processed may be an image containing a two-dimensional code.
[0096] S102. Identify a positioning frame in the image to be processed.
[0097] S103. If the number of identified positioning frames is less than the preset number, determine the positions of missing positioning frames in the image to be processed based on the positions of the identified positioning frames.
[0098] S104. Based on the identified position of the positioning frame and the position of the missing positioning frame, locate the two-dimensional code in the image to be processed, and decode the two-dimensional code.
[0099] In the spe...
Embodiment 2
[0148] In the embodiment of the present application, several possible results that may occur after identifying the positioning frame in the image to be processed will be combined with the first embodiment to give a general description, see Figure 10 As shown, it is a schematic flow chart of a two-dimensional code recognition method provided in the embodiment of the present application, including the following steps:
[0149] S1001. Acquire an image to be processed.
[0150] S1002. Identify a positioning frame in the image to be processed.
[0151] Specifically, for the method for the positioning frame in the image to be processed, refer to the method for identifying the positioning frame in the image to be processed described in Embodiment 1, which will not be repeated here.
[0152] S1003. Determine whether the number of identified positioning frames is less than a preset number.
[0153] If the judgment result is yes, execute step S1004 to step S1005 in sequence;
[0154...
Embodiment 3
[0165] The embodiment of the present application provides a two-dimensional code recognition device, such as Figure 11 As shown, it is a schematic diagram of the structure of the two-dimensional code recognition device 1100 provided by the embodiment of the present application, including the acquisition module 1101 and the processing module 1102, wherein the processing module 1102 includes the recognition unit 11021, the determination unit 11022, and the decoding unit 11023, specifically :
[0166] An acquisition module 1101, configured to acquire an image to be processed;
[0167] A processing module 1102, configured to perform an identification process, wherein the processing module 1102 includes:
[0168] An identification unit 11021, configured to identify the positioning frame in the image to be processed;
[0169] A determining unit 11022, configured to determine the position of the missing positioning frame in the image to be processed based on the identified positio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


