Method, device, and system for generating, repairing, and identifying an incomplete QR code
Abstract
A method of reading a QR code is described. The method includes capturing an image of an incomplete QR code. The incomplete QR code has a missing region with a missing functional pattern. Further, the functional pattern is added to the missing region in the incomplete QR code to form a recovered QR code. Subsequently, pixels are added randomly to the missing region surrounding the functional pattern to add to the recovered QR code. The recovered QR code has a number of functional patterns and a number of modules. Further, data is read from the recovered QR code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method of reading a QR code, the method comprising: capturing an image of an incomplete QR code, the incomplete QR code having a missing region with a functional pattern that is missing; adding the functional pattern to the missing region in the incomplete QR code to form a recovered QR code; in response to adding the functional pattern, randomly adding pixels to the missing region surrounding the functional pattern to add to the recovered QR code, wherein the recovered QR code comprises a number of functional patterns and a number of modules; and reading data from the recovered QR code.
- Claim 2Depends on #1
The method of claim 1, further comprising: determining a version of a complete QR code that corresponds with the incomplete QR code; and identifying the functional pattern in the complete QR code that is missing in the incomplete QR code, wherein the functional pattern comprises a position detection pattern.
- Claim 3Depends on #2
The method of claim 2, wherein the functional pattern further comprises an alignment pattern.
- Claim 4Depends on #2
The method of claim 2, wherein the missing region has an area that is smaller than a product of the area of the complete QR code and an error correction level.
- Claim 5Depends on #2
The method of claim 2, further comprising: obtaining the incomplete QR code having the missing region from the captured image, wherein obtaining the incomplete QR code having the missing region comprises: determining a partial region of an original QR code; performing a blocking or deletion operation on the partial region of the original QR code by blocking or deleting the partial region to obtain the incomplete QR code.
- Claim 6Depends on #2
The method of claim 2, wherein the incomplete QR code has a number of modules on a complete side of the incomplete QR code, and wherein the version of the complete QR code that corresponds with the incomplete QR code is determined from the number of modules.
- Claim 7Depends on #6
The method of claim 6, further comprising: determining a symbol structure corresponding to the version of the complete QR code, wherein adding the functional pattern to the missing region in the incomplete QR code is based on the determined symbol structure.
- Claim 8Independent Claim
A non-transitory computer-readable storage medium having embedded therein program instructions, which when executed by a processor causes the processor to execute a method of reading a QR code, the method comprising: capturing an image of an incomplete QR code, the incomplete QR code having a missing region with a functional pattern that is missing; adding the functional pattern to the missing region in the incomplete QR code to form a recovered QR code; in response to adding the functional pattern, randomly adding pixels to the missing region surrounding the functional pattern to add to the recovered QR code, wherein the recovered QR code comprises a number of functional patterns and a number of modules; and reading data from the recovered QR code.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 16/228,083, filed on Dec. 20, 2018, which claims priority to Chinese Patent Application No. 201711431170.5, filed on Dec. 26, 2017, the disclosure and content of each of which are incorporated herein by reference in their entireties. BACKGROUND OF THE INVENTION 1. Field of the Invention The present application relates to the field of communication technologies and, in particular, to a method, device, and system for generating, repairing, and identifying an incomplete QR code. 2. Description of the Related Art Currently, QR codes can be used to transfer data in many application scenarios. For example, payment can be made by QR code, connection to a wireless network can be established through a QR code, and a business card can be delivered by a QR code. Generally, the process of using a QR code is to display a QR code by a first terminal, scan the QR code on the first terminal by a second terminal, or identify the displayed QR code by the first terminal, thereby acquiring the data contained in the QR code. There are currently 40 versions of the QR code, and the symbol structures of the different versions of the QR code are slightly different. FIGS. 1 A- 1 E show diagrams that illustrate a series of conventional QR codes. FIG. 1 A shows a version 1 QR code 110 . FIG. 1 B shows a version 2 QR code 120 . FIG. 1 C shows a version 6 QR code 130 . FIG. 1 D shows a version 7 QR code 140 . FIG. 1
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (30)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- Qianyu, Ji,
- “
- Exploring the Concepts of QR Code and the Benefits of using QR Code for Companies
- ”
- , Lapin Amk, School of Business and Culture Degree Programme in Business Information, 2014.