Method, device, and system for generating, repairing, and identifying an incomplete QR code

US12380302B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12380302-B2
Application numberUS-202217589659-A
CountryUS
Kind codeB2
Filing dateJan 31, 2022
Priority dateDec 26, 2017
Publication dateAug 5, 2025
Grant dateAug 5, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. 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. 2. 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. 3. The method of claim 2 , wherein the functional pattern further comprises an alignment pattern. 4. 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. 5. 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. 6. 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. 7. 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. 8. 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. 9. The non-transitory computer-readable storage medium of claim 8 , wherein the method further comprises: 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. 10. The non-transitory computer-readable storage medium of claim 9 , wherein the functional pattern further comprises an alignment pattern. 11. The non-transitory computer-readable storage medium of claim 9 , 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. 12. The non-transitory computer-readable storage medium of claim 9 , wherein the method further comprises: 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. 13. The non-transitory computer-readable storage medium of claim 9 , 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. 14. The non-transitory computer-readable storage medium of claim 13 , wherein the method further comprises: 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. 15. A QR code device, comprising: a memory; an image capture device; and a processor coupled to the memory and the image capture device, wherein the processor is configured to: capture an image of an incomplete QR code, the incomplete QR code having a missing region with a functional pattern that is missing; add the functional pattern to the missing region in the incomplete QR code to form a recovered QR code; in response to addition of the functional pattern, randomly add 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 read data from the recovered QR code. 16. The QR code device of claim 15 , wherein the processor is further configured to: determine a version of a complete QR code that corresponds with the incomplete QR code; and identify 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. 17. The QR code device of claim 16 , wherein the functional pattern further comprises an alignment pattern. 18. The QR code device of claim 16 , wherein the processor is further configured to: obtain the incomplete QR code having the missing region from the captured image, wherein to obtain the incomplete QR code having the missing region, the processor is configured to: determine a partial region of an original QR code; perform 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. 19. The QR code device of claim 16 , 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. 20. The QR code device of claim 19 , wherein the processor is further configured to: determine a symbol structure corresponding to the version of the complete QR code, wherein the functional pattern is added to the missing region in the incomplete QR code based on the determined symbol structure.

Assignees

Inventors

Classifications

  • multi-dimensional coding · CPC title

  • G06K7/1417Primary

    2D bar codes · CPC title

  • error correction · CPC title

  • G06K7/1491Primary

    the method including a reconstruction step, e.g. stitching two pieces of bar code together to derive the full bar code · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12380302B2 cover?
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 pa…
Who is the assignee on this patent?
Alibaba Group Holding Ltd
What technology area does this patent fall under?
Primary CPC classification G06K7/1417. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 05 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).