# US 2022/0067372 A1 · Method and apparatus for extracting geographic location points spatial relationship

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0067372 A1
- Document ID: US20220067372A1
- Status: Published application
- Kind: A1
- Application number: 17/210,188
- Filed: 2021-03-23
- Published: 2022-03-03
- Earliest claimed: 2020-08-26
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Inventors: Jizhou Huang; Hao Zhang; Haifeng Wang
- Web page: https://patentgrep.com/patent/US20220067372A1

## CPC

- G06F 16/29: Geographical information databases
- G06V 20/10: Terrestrial scenes (scenes under surveillance with static cameras G06V20/52; scenes perceived from the exterior of a vehicle G06V20/56; scenes perceived from the interior of a vehicle G06V20/59)
- G06F 18/23: Clustering techniques
- G06F 18/24: Classification techniques
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G06V 10/40: Extraction of image or video features
- G06V 30/10: Character recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present application discloses a method and apparatus for extracting a geographic location point spatial relationship, and relates to the field of big data technologies. A specific implementation solution is as follows: determining geographic location point pairs included in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices; acquiring at least two real-scene images collected by the same terminal device and including the same geographic location point pair; and determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images. The geographic location point spatial relationship extracted through the present application has higher accuracy and a coverage rate.

## Claims

### Claim 1

A method for extracting a geographic location point spatial relationship, comprising:
determining geographic location point pairs comprised in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices;
acquiring at least two real-scene images collected by the same terminal device and comprising the same geographic location point pair; and
determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining geographic location point pairs comprised in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices comprises:
acquiring the real-scene images collected by the terminal devices;
performing signboard discrimination on the real-scene images to screen out real-scene images comprising at least two signboards; and
performing signboard text recognition on the real-scene images comprising at least two signboards to determine geographic location point pairs comprised in the real-scene images.

### Claim 3 (depends on 2)

The method according to claim 2, wherein before the performing signboard text recognition on the real-scene images comprising at least two signboards, the method further comprises:
clustering, based on a positioning distance among the real-scene images, the screened out real-scene images comprising at least two signboards, to obtain more than one similar positioning class cluster;
further clustering images in the similar positioning class cluster based on content similarity respectively, to obtain more than one similar content class cluster; and
performing the signboard text recognition on real-scene images in the similar content class cluster respectively.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the further clustering images in the similar positioning class cluster based on content similarity respectively comprises:
classifying the images in the similar positioning class cluster respectively according to shooting time, to obtain images shot in each time period;
selecting images shot in the most recent time period; and
clustering the images shot in the most recent time period in the same similar positioning class cluster based on content similarity.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the performing signboard text recognition on the real-scene images comprising at least two signboards comprises:
performing signboard discrimination on the real-scene images comprising at least two signboards, to determine signboard areas;
performing ID uniqueness processing on the determined signboard areas in the real-scene images, such that signboard areas referring to the same signboard in the real-scene images use the same ID;
determining signboard area ID sequences comprised in the real-scene images and acquiring a frequent item sequence therefrom; and
performing text recognition on signboard areas corresponding to IDs in the frequent item sequence.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the performing text recognition on signboard areas corresponding to IDs in the frequent item sequence comprises:
selecting, if a plurality of text recognition results are recognized for signboard areas corresponding to the same ID in the frequent item sequence, one with the highest confidence from the plurality of text recognition results.

### Claim 7 (depends on 5)

The method according to claim 5, wherein the determining geographic location point pairs comprised in the real-scene images comprises:
selecting, for real-scene images comprising frequent item sequences, n−1 geographic location point pairs from the frequent item sequences, a set of the n−1 geographic location point pairs comprising geographic location points corresponding to all IDs in the frequent item sequences, the sum of signboard distances corresponding to the geographic location point pairs in the real-scene images being minimum, and the n being the number of signboards comprised in the frequent item sequences.

### Claim 8 (depends on 1)

The method according to claim 1, wherein after the determining geographic location point pairs comprised in the real-scene images, the method further comprises: establishing reverse indexes of the real-scene images by using the geographic location point pairs; and
querying the reverse indexes to perform the acquiring at least two real-scene images collected by the same terminal device and comprising the same geographic location point pair.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images comprises:
performing geometrical relationship-based calculation by using positioning coordinates of the at least two real-scene images and shooting angles for signboards of the geographic location point pair, to obtain coordinates of two geographic location points in the geographic location point pair; and
determining a spatial relationship of the two geographic location points based on the coordinates of the two geographic location points.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising:
storing the spatial relationship of the two geographic location points in the form of a tetrad;
wherein the tetrad comprises: information of the two geographic location points, a spatial relationship type and a spatial relationship value.

### Claim 11

An electronic device, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a method for extracting a geographic location point spatial relationship, wherein the method comprises:
determining geographic location point pairs comprised in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices;
acquiring at least two real-scene images collected by the same terminal device and comprising the same geographic location point pair; and
determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein determining geographic location point pairs comprised in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices comprises:
acquiring the real-scene images collected by the terminal devices;
performing signboard discrimination on the real-scene images to screen out real-scene images comprising at least two signboards; and
performing signboard text recognition on the real-scene images comprising at least two signboards to determine geographic location point pairs comprised in the real-scene images.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein before the performing signboard text recognition on the real-scene images comprising at least two signboards, the method further comprises:
clustering, based on a positioning distance among the real-scene images, the screened out real-scene images comprising at least two signboards, to obtain more than one similar positioning class cluster;
further clustering images in the similar positioning class cluster based on content similarity respectively, to obtain more than one similar content class cluster; and
performing the signboard text recognition on real-scene images in the similar content class cluster respectively.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the further clustering images in the similar positioning class cluster based on content similarity respectively comprises:
classifying the images in the similar positioning class cluster respectively according to shooting time, to obtain images shot in each time period;
selecting images shot in the most recent time period; and
clustering the images shot in the most recent time period in the same similar positioning class cluster based on content similarity.

### Claim 15 (depends on 12)

The electronic device according to claim 12, wherein the performing signboard text recognition on the real-scene images comprising at least two signboards comprises:
performing signboard discrimination on the real-scene images comprising at least two signboards, to determine signboard areas;
performing ID uniqueness processing on the determined signboard areas in the real-scene images, such that signboard areas referring to the same signboard in the real-scene images use the same ID;
determining signboard area ID sequences comprised in the real-scene images and acquire a frequent item sequence therefrom; and
performing text recognition on signboard areas corresponding to IDs in the frequent item sequence.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the determining geographic location point pairs comprised in the real-scene images comprises:
selecting, for real-scene images comprising frequent item sequences, n−1 geographic location point pairs from the frequent item sequences, a set of the n−1 geographic location point pairs comprising geographic location points corresponding to all IDs in the frequent item sequences, the sum of signboard distances corresponding to the geographic location point pairs in the real-scene images being minimum, and the n being the number of signboards comprised in the frequent item sequences.

### Claim 17 (depends on 11)

The electronic device according to claim 11, wherein after the determining geographic location point pairs comprised in the real-scene images, the method further comprises: establishing reverse indexes of the real-scene images by using the geographic location point pairs; and
querying the reverse indexes to perform the acquiring at least two real-scene images collected by the same terminal device and comprising the same geographic location point pair.

### Claim 18 (depends on 11)

The electronic device according to claim 11, wherein the determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images comprises:
performing geometrical relationship-based calculation by using positioning coordinates of the at least two real-scene images and shooting angles for signboards of the geographic location point pair, to obtain coordinates of two geographic location points in the geographic location point pair; and
determining a spatial relationship of the two geographic location points based on the coordinates of the two geographic location points.

### Claim 19 (depends on 11)

The electronic device according to claim 11, further comprising:
storing the spatial relationship of the two geographic location points in the form of a tetrad;
wherein the tetrad comprises: information of the two geographic location points, a spatial relationship type and a spatial relationship value.

### Claim 20

A non-transitory computer readable storage medium with computer instructions stored thereon, wherein the computer instructions are used for causing a computer to perform a method for extracting a geographic location point spatial relationship, wherein the method comprises:
determining geographic location point pairs comprised in real-scene images by performing signboard recognition on the real-scene images collected by terminal devices;
acquiring at least two real-scene images collected by the same terminal device and comprising the same geographic location point pair; and
determining a spatial relationship of the same geographic location point pair by using shooting parameters of the at least two real-scene images.
