IP Library Granted Patent US 10,685,201
Granted Patent B2
US 10,685,201 · App. 16/252,138 · Granted Jun 16, 2020

Method and system for recognizing location information in two-dimensional code

Inventors: Huan Liu (Hangzhou, CN); Wenrong Liu (Hangzhou, CN); Yinhai Tu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06K7/1452G06K7/10G06K7/14G06K7/1417G06T7/13
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,685,201
App. No.
16/252,138
Granted
Jun 16, 2020
Kind
B2
Abstract

A method and a system for recognizing location information in a two-dimensional code are provided. The method comprises: acquiring a two-dimensional code in an image; performing, according to a main positioning block of the two-dimensional code, feature detection to recognize location information in the two-dimensional code; and determining, according to the location information in the two-dimensional code, spatial location information of the two-dimensional code in the image.

Claims (57)

1. A method for recognizing location information in a two-dimensional code, comprising:

acquiring a two-dimensional code in an image;

determining one or more main positioning blocks of the two-dimensional code;

acquiring location information of one or more central points of the one or more main positioning blocks;

using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code; and

determining, according to the location information in the two-dimensional code, spatial location information of the two-dimensional code in the image.

2. The method according to claim 1 , further comprising:

tracking the location information in the two-dimensional code to track the spatial location information of the two-dimensional code in the image.

3. The method according to claim 1 , wherein acquiring location information of one or more central points of the one or more main positioning blocks and using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code further comprises:

acquiring location information of a central point of each main positioning block and location information of a plurality of corner points of the each main positioning block, respectively; and

using the acquired location information of the one or more central points of the one or more main positioning blocks and the location information of the plurality of corner points of the one or more main positioning blocks to perform the feature detection.

4. The method according to claim 3 , wherein location information of 12, 8, or 4 corner points of the each main positioning block is acquired.

5. The method according to claim 1 , wherein acquiring location information of one or more central points of the one or more main positioning blocks and using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code further comprises:

acquiring location information of a central point of each main positioning block and location information of a plurality of central points of boundary edges between black and white pixels of the each main positioning block, respectively; and

using the acquired location information of the one or more central points of the one or more main positioning blocks and the location information of the plurality of central points of boundary edges between black and white pixels of the one or more main positioning blocks to perform the feature detection.

6. The method according to claim 5 , wherein location information of 12, 8, or 4 central points of boundary edges between black and white pixels of the each main positioning block is acquired.

7. The method according to claim 1 , wherein the two-dimensional code is a quick response (QR) two-dimensional code.

8. The method according to claim 1 , further comprising:

acquiring data of a virtual object corresponding to the two-dimensional code; and

determining a spatial location of the virtual object according to the spatial location information of the two-dimensional code in the image.

9. A system for recognizing location information in a two-dimensional code comprising a processor and a non-transitory computer-readable storage medium coupled to the processor and storing instructions executable by the processor to cause the system to perform a method, the method comprising:

acquiring a two-dimensional code in an image;

determining one or more main positioning blocks of the two-dimensional code;

acquiring location information of one or more central points of the one or more main positioning blocks;

using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code; and

determining, according to the location information in the two-dimensional code, spatial location information of the two-dimensional code in the image.

10. The system according to claim 9 , wherein the method further comprises:

tracking the location information in the two-dimensional code to track the spatial location information of the two-dimensional code in the image.

11. The system according to claim 9 , wherein acquiring location information of one or more central points of the one or more main positioning blocks and using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code further comprises:

acquiring location information of a central point of each main positioning block and location information of a plurality of corner points of the each main positioning block, respectively; and

using the acquired location information of the one or more central points of the one or more main positioning blocks and the location information of the plurality of corner points of the one or more main positioning blocks to perform the feature detection.

12. The system according to claim 11 , wherein location information of 12, 8, or 4 corner points of the each main positioning block is acquired.

13. The system according to claim 9 , wherein acquiring location information of one or more central points of the one or more main positioning blocks and using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code further comprises:

acquiring location information of a central point of each main positioning block and location information of a plurality of central points of boundary edges between black and white pixels of the each main positioning block, respectively; and

using the acquired location information of the one or more central points of the one or more main positioning blocks and the location information of the plurality of central points of boundary edges between black and white pixels of the one or more main positioning blocks to perform the feature detection.

14. The system according to claim 13 , wherein location information of 12, 8, or 4 central points of boundary edges between black and white pixels of the each main positioning block is acquired.

15. The system according to claim 9 , wherein the step of determining, according to the location information in the two-dimensional code, spatial location information of the two-dimensional code in the image comprises:

acquiring preset standard location information; and

matching the standard location information with the location information in the two-dimensional code to obtain the spatial location information of the two-dimensional code in the image.

16. The system according to claim 9 , wherein the two-dimensional code is a quick response (QR) two-dimensional code.

17. The system according to claim 9 , wherein the method further comprises:

acquiring data of a virtual object corresponding to the two-dimensional code; and

determining a spatial location of the virtual object according to the spatial location information of the two-dimensional code in the image.

18. A non-transitory computer-readable storage medium storing instructions executable by a processor to cause the processor to perform a method for recognizing location information in a two-dimensional code, the method comprising:

acquiring a two-dimensional code in an image;

determining one or more main positioning blocks of the two-dimensional code;

acquiring location information of one or more central points of the one or more main positioning blocks;

using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code; and

determining, according to the location information in the two-dimensional code, spatial location information of the two-dimensional code in the image.

19. The non-transitory computer-readable storage medium in claim 18 , wherein acquiring location information of one or more central points of the one or more main positioning blocks and using the acquired location information of the one or more central points of the one or more main positioning blocks to perform feature detection to recognize location information in the two-dimensional code further comprises:

acquiring location information of a central point of each main positioning block and location information of a plurality of corner points of the each main positioning block, respectively; and

using the acquired location information of the one or more central points of the one or more main positioning blocks and the location information of the plurality of corner points of the one or more main positioning blocks to perform the feature detection.

20. A method for recognizing location information in a two-dimensional code, comprising:

acquiring a two-dimensional code in an image;

performing, according to a main positioning block of the two-dimensional code, feature detection to recognize location information in the two-dimensional code;

acquiring preset standard location information; and

matching the preset standard location information with the recognized location information in the two-dimensional code to obtain the spatial location information of the two-dimensional code in the image.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 18, 2019
From: LIU, HUAN; LIU, WENRONG; TU, YINHAI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048098/0313 →