# US 2020/0394420 A1 · Method, apparatus, and storage medium for obtaining object information

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

- Number: US 2020/0394420 A1
- Document ID: US20200394420A1
- Status: Published application
- Kind: A1
- Application number: 17/005,796
- Filed: 2020-08-28
- Published: 2020-12-17
- Earliest claimed: 2018-08-29
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yi HU; Ruixin ZHANG
- Web page: https://patentgrep.com/patent/US20200394420A1

## CPC

- G06V 10/22: by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06V 10/243: {by compensating for image skew or non-uniform image deformations}
- G06V 20/54: of traffic, e.g. cars on the road, trains or boats
- G06V 20/64: Three-dimensional [3D] objects
- G06V 10/247: {by affine transforms, e.g. correction due to perspective effects; Quadrilaterals, e.g. trapezoids}
- G06V 20/625: {License plates}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure describes method, apparatus, and storage medium for obtaining object information. The method includes obtaining a to-be-tracked image comprising at least one object and at least one reference image comprising a plurality of objects; extracting a to-be-tracked image block comprising a plurality of to-be-tracked points from the to-be-tracked image and extracting a reference image block comprising a plurality of reference points from a reference image of the at least one reference image; constructing a point transformation relationship between the to-be-tracked image block and the reference image block based on a position relationship between the plurality of to-be-tracked points and a position relationship between the plurality of reference points; and obtaining a position of a reference point in the reference image corresponding to a to-be-tracked point based on the point transformation relationship, to determine an object in the reference image corresponding to the at least one object.

## Claims

### Claim 1

A method for obtaining object information, the method comprising:
obtaining, by a device comprising a memory storing instructions and a processor in communication with the memory, a to-be-tracked image and at least one reference image, the to-be-tracked image comprising at least one object, and the at least one reference image comprising a plurality of objects;
extracting, by the device, a to-be-tracked image block from the to-be-tracked image and extracting a reference image block from a reference image of the at least one reference image, the to-be-tracked image block comprising a plurality of to-be-tracked points used for marking object information in the to-be-tracked image, and the reference image block comprising a plurality of reference points used for marking object information in the reference image;
constructing, by the device, a point transformation relationship between the to-be-tracked image block and the reference image block based on a position relationship between the plurality of to-be-tracked points and a position relationship between the plurality of reference points; and
obtaining, by the device, a position of a reference point in the reference image corresponding to a to-be-tracked point in the to-be-tracked image based on the point transformation relationship, to determine an object in the reference image corresponding to the at least one object.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the constructing the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points comprises:
mapping, by the device, the plurality of to-be-tracked points to the reference image according to a preset coordinate axis transformation formula, to obtain a plurality of mapped points; and
constructing, by the device, the point transformation relationship between the plurality of mapped points and the plurality of reference points.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the constructing the point transformation relationship between the plurality of mapped points and the plurality of reference points comprises:
for each mapped point in the plurality of mapped points:
calculating, by the device, matching scores between the each mapped point and the plurality of reference points to obtain a matching score set; and
constructing, by the device, the point transformation relationship between the plurality of to-be-tracked points and the plurality of reference points according to the matching score set.

### Claim 4 (depends on 3)

The method according to claim 3, wherein before the extracting the to-be-tracked image block from the to-be-tracked image and extracting the reference image block from the reference image, the method further comprises:
marking, by the device, coordinate points in each of the to-be-tracked image and the reference image; and
constructing, by the device, the preset coordinate axis transformation formula between the to-be-tracked image and the reference image according to a correspondence between the coordinate points of the to-be-tracked image and the coordinate points of the reference image.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the extracting the to-be-tracked image block from the to-be-tracked image and extracting the reference image block from the reference image comprises:
recognizing, by the device, the at least one object from the to-be-tracked image through image recognition, and extracting the to-be-tracked image block according to the at least one object, an area of the to-be-tracked image block comprising an area in which the at least one object is located; and
recognizing, by the device, the plurality of objects from the reference image through image recognition, and respectively extracting, according to the plurality of objects, a plurality of reference image blocks corresponding to the plurality of objects, an area of each reference image block comprising an area in which an object in the plurality of objects is located.

### Claim 6 (depends on 5)

The method according to claim 5, wherein:
the plurality of to-be-tracked points comprises upper left corner and lower right corner points of the to-be-tracked image block, and the plurality of reference points comprises upper left corner and lower right corner points of the plurality of reference image blocks; and
the constructing the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points comprises:
calculating, by the device, a midpoint of a bottom edge of the to-be-tracked image block based on the upper left corner and lower right corner points of the to-be-tracked image block, to obtain a to-be-tracked midpoint,
calculating, by the device, center points of the plurality of reference image blocks based on the upper left corner and lower right corner points of the plurality of reference image blocks, to obtain a plurality of reference center points,
mapping, by the device, the to-be-tracked midpoint to the reference image according to a preset coordinate axis transformation formula, to obtain a mapped midpoint, and
constructing, by the device, the point transformation relationship between the mapped midpoint and the plurality of reference center points.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the constructing the point transformation relationship between the mapped midpoint and the plurality of reference center points comprises:
calculating, by the device, matching scores between the mapped midpoint and the plurality of reference center points, to obtain a matching score set; and
constructing, by the device, the point transformation relationship between the to-be-tracked midpoint and the plurality of reference center points according to the matching score set.

### Claim 8

An apparatus for obtaining object information, the apparatus comprising:
a memory storing instructions; and
a processor in communication with the memory, wherein, when the processor executes the instructions, the processor is configured to cause the apparatus to:
obtain a to-be-tracked image and at least one reference image, the to-be-tracked image comprising at least one object, and the at least one reference image comprising a plurality of objects,
extract a to-be-tracked image block from the to-be-tracked image and extract a reference image block from a reference image of the at least one reference image, the to-be-tracked image block comprising a plurality of to-be-tracked points used for marking object information in the to-be-tracked image, and the reference image block comprising a plurality of reference points used for marking object information in the reference image,
construct a point transformation relationship between the to-be-tracked image block and the reference image block based on a position relationship between the plurality of to-be-tracked points and a position relationship between the plurality of reference points, and
obtain a position of a reference point in the reference image corresponding to a to-be-tracked point in the to-be-tracked image based on the point transformation relationship, to determine an object in the reference image corresponding to the at least one object.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein, when the processor is configured to cause the apparatus to construct the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points, the processor is configured to cause the apparatus to:
map the plurality of to-be-tracked points to the reference image according to a preset coordinate axis transformation formula, to obtain a plurality of mapped points, and
construct the point transformation relationship between the plurality of mapped points and the plurality of reference points.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein, when the processor is configured to cause the apparatus to construct the point transformation relationship between the plurality of mapped points and the plurality of reference points, the processor is configured to cause the apparatus to:
for each mapped point in the plurality of mapped points:
calculate matching scores between the each mapped point and the plurality of reference points to obtain a matching score set; and
construct the point transformation relationship between the plurality of to-be-tracked points and the plurality of reference points according to the matching score set.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein, when the processor is configured to cause the apparatus to extract the to-be-tracked image block from the to-be-tracked image and extract the reference image block from the reference image, the processor is configured to cause the apparatus to:
mark coordinate points in each of the to-be-tracked image and the reference image; and
construct the preset coordinate axis transformation formula between the to-be-tracked image and the reference image according to a correspondence between the coordinate points of the to-be-tracked image and the coordinate points of the reference image.

### Claim 12 (depends on 8)

The apparatus according to claim 8, wherein, when the processor is configured to cause the apparatus to extract the to-be-tracked image block from the to-be-tracked image and extract the reference image block from the reference image, the processor is configured to cause the apparatus to:
recognize the at least one object from the to-be-tracked image through image recognition, and extract the to-be-tracked image block according to the at least one object, an area of the to-be-tracked image block comprising an area in which the at least one object is located; and
recognize the plurality of objects from the reference image through image recognition, and respectively extract, according to the plurality of objects, a plurality of reference image blocks corresponding to the plurality of objects, an area of each reference image block comprising an area in which an object in the plurality of objects is located.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein:
the plurality of to-be-tracked points comprises upper left corner and lower right corner points of the to-be-tracked image block, and the plurality of reference points comprises upper left corner and lower right corner points of the plurality of reference image blocks; and
when the processor is configured to cause the apparatus to construct the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points, the processor is configured to cause the apparatus to:
calculate a midpoint of a bottom edge of the to-be-tracked image block based on the upper left corner and lower right corner points of the to-be-tracked image block, to obtain a to-be-tracked midpoint,
calculate center points of the plurality of reference image blocks based on the upper left corner and lower right corner points of the plurality of reference image blocks, to obtain a plurality of reference center points,
map the to-be-tracked midpoint to the reference image according to a preset coordinate axis transformation formula, to obtain a mapped midpoint, and
construct the point transformation relationship between the mapped midpoint and the plurality of reference center points.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein, when the processor is configured to cause the apparatus to construct the point transformation relationship between the mapped midpoint and the plurality of reference center points, the processor is configured to cause the apparatus to:
calculate matching scores between the mapped midpoint and the plurality of reference center points, to obtain a matching score set; and
construct the point transformation relationship between the to-be-tracked midpoint and the plurality of reference center points according to the matching score set.

### Claim 15

A non-transitory computer readable storage medium storing computer readable instructions, wherein, the computer readable instructions, when executed by a processor, are configured to cause the processor to perform:
obtaining a to-be-tracked image and at least one reference image, the to-be-tracked image comprising at least one object, and the at least one reference image comprising a plurality of objects;
extracting a to-be-tracked image block from the to-be-tracked image and extracting a reference image block from a reference image of the at least one reference image, the to-be-tracked image block comprising a plurality of to-be-tracked points used for marking object information in the to-be-tracked image, and the reference image block comprising a plurality of reference points used for marking object information in the reference image;
constructing a point transformation relationship between the to-be-tracked image block and the reference image block based on a position relationship between the plurality of to-be-tracked points and a position relationship between the plurality of reference points; and
obtaining a position of a reference point in the reference image corresponding to a to-be-tracked point in the to-be-tracked image based on the point transformation relationship, to determine an object in the reference image corresponding to the at least one object.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein, when the computer readable instructions are configured to cause the processor to perform constructing the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points, the computer readable instructions are configured to cause the processor to perform:
mapping the plurality of to-be-tracked points to the reference image according to a preset coordinate axis transformation formula, to obtain a plurality of mapped points; and
constructing the point transformation relationship between the plurality of mapped points and the plurality of reference points.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein, when the computer readable instructions are configured to cause the processor to perform constructing the point transformation relationship between the plurality of mapped points and the plurality of reference points, the computer readable instructions are configured to cause the processor to perform:
for each mapped point in the plurality of mapped points:
calculating matching scores between the each mapped point and the plurality of reference points to obtain a matching score set; and
constructing the point transformation relationship between the plurality of to-be-tracked points and the plurality of reference points according to the matching score set.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium according to claim 17, wherein, before the computer readable instructions are configured to cause the processor to perform extracting the to-be-tracked image block from the to-be-tracked image and extracting the reference image block from the reference image, the computer readable instructions are configured to cause the processor to perform:
marking coordinate points in each of the to-be-tracked image and the reference image; and
constructing the preset coordinate axis transformation formula between the to-be-tracked image and the reference image according to a correspondence between the coordinate points of the to-be-tracked image and the coordinate points of the reference image.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein, when the computer readable instructions are configured to cause the processor to perform extracting the to-be-tracked image block from the to-be-tracked image and extracting the reference image block from the reference image, the computer readable instructions are configured to cause the processor to perform:
recognizing the at least one object from the to-be-tracked image through image recognition, and extracting the to-be-tracked image block according to the at least one object, an area of the to-be-tracked image block comprising an area in which the at least one object is located; and
recognizing the plurality of objects from the reference image through image recognition, and respectively extracting, according to the plurality of objects, a plurality of reference image blocks corresponding to the plurality of objects, an area of each reference image block comprising an area in which an object in the plurality of objects is located.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium according to claim 19, wherein:
the plurality of to-be-tracked points comprises upper left corner and lower right corner points of the to-be-tracked image block, and the plurality of reference points comprises upper left corner and lower right corner points of the plurality of reference image blocks; and
when the computer readable instructions are configured to cause the processor to perform constructing the point transformation relationship between the to-be-tracked image block and the reference image block based on the position relationship between the plurality of to-be-tracked points and the position relationship between the plurality of reference points, the computer readable instructions are configured to cause the processor to perform:
calculating a midpoint of a bottom edge of the to-be-tracked image block based on the upper left corner and lower right corner points of the to-be-tracked image block, to obtain a to-be-tracked midpoint,
calculating center points of the plurality of reference image blocks based on the upper left corner and lower right corner points of the plurality of reference image blocks, to obtain a plurality of reference center points,
mapping the to-be-tracked midpoint to the reference image according to a preset coordinate axis transformation formula, to obtain a mapped midpoint, and
constructing the point transformation relationship between the mapped midpoint and the plurality of reference center points.
