# US 2022/0277478 A1 · Positioning Method and Apparatus

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

- Number: US 2022/0277478 A1
- Document ID: US20220277478A1
- Status: Published application
- Kind: A1
- Application number: 17/680,923
- Filed: 2022-02-25
- Published: 2022-09-01
- Earliest claimed: 2019-08-26
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Yidan Teng; Kai Zhou; Jing Zhang; Qingzhi Li; Weikang Ning
- Web page: https://patentgrep.com/patent/US20220277478A1

## CPC

- G06T 7/73: using feature-based methods
- G06T 7/74: {involving reference images or patches}
- G06T 3/10: Selection of transformation methods according to the characteristics of the input images
- G06V 10/24: Aligning, centring, orientation detection or correction of the image
- G06V 10/40: Extraction of image or video features
- G06V 20/50: Context or environment of the image
- G06T 2207/10024: Color image
- G06T 2207/30196: Human being; Person
- G06T 2207/30244: Camera pose
- G06T 2207/30264: Parking
- G06V 2201/07: Target detection
- G06V 2201/08: Detecting or categorising vehicles
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A positioning method includes obtaining an estimated extrinsic parameter of a camera and an intrinsic parameter of the camera, where the estimated extrinsic parameter of the camera is obtained based on world coordinates of a plurality of estimation points in a shooting region of the camera, image coordinates of the plurality of estimation points, and the intrinsic parameter of the camera; obtaining image coordinates of a target in an image shot by the camera; and obtaining world coordinates of the target based on the estimated extrinsic parameter of the camera, the intrinsic parameter of the camera, and the image coordinates of the target.

## Claims

### Claim 1

A method for locating a target, wherein the method comprises:
obtaining an intrinsic parameter of a camera;
obtaining an extrinsic parameter of the camera based on first world coordinates of a plurality of points in a shooting region of the camera, first image coordinates of the points, and the intrinsic parameter;
obtaining second image coordinates of the target in an image shot by the camera; and
obtaining second world coordinates of the target based on the extrinsic parameter, the intrinsic parameter, and the second image coordinates.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target is a vehicle, and wherein the method further comprises:
obtaining image information of the target;
querying for a feature parameter of the vehicle based on the image information;
obtaining a physical transformation matrix corresponding to the extrinsic parameter based on the extrinsic parameter;
obtaining an intrinsic parameter matrix of the camera based on the intrinsic parameter;
performing coordinate transformation on the second image coordinates, the physical transformation matrix, and the intrinsic parameter matrix to obtain third world coordinates; and
further obtaining the second world coordinates based on the feature parameter, a height of the camera, a location of the camera, and the third world coordinates.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second image coordinates are of a feature pixel of the target in the image.

### Claim 4 (depends on 1)

The method of claim 1, wherein the target is other than a vehicle, and wherein the method further comprises:
obtaining a physical transformation matrix corresponding to the extrinsic parameter based on the extrinsic parameter;
obtaining an intrinsic parameter matrix of the camera based on the intrinsic parameter; and
performing coordinate transformation on the second image coordinates, the physical transformation matrix, and the intrinsic parameter matrix to obtain the second world coordinates.

### Claim 5 (depends on 4)

The method of claim 4, wherein the second image coordinates are of a contact point between the target and ground in the image.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
obtaining third world coordinates of a special visual identifier in the shooting region, wherein the special visual identifier is located between a near-point of a field of view of the camera and a far-point of the field of view;
obtaining the first world coordinates based on the third world coordinates;
obtaining third image coordinates of the special visual identifier; and
obtaining the first image coordinates based on the third image coordinates.

### Claim 7 (depends on 6)

The method of claim 6, wherein the special visual identifier is a first division line, and wherein the first division line is different from a second division line surrounding the first division line.

### Claim 8

A positioning method comprising:
obtaining an initial extrinsic parameter of a camera and an intrinsic parameter of the camera; and
determining a first location of a special visual identifier in a parking lot based on the initial extrinsic parameter and the intrinsic parameter,
wherein the special visual identifier positions a target in a shooting region of the camera.

### Claim 9 (depends on 8)

The positioning method of claim 8, further comprising:
determining, based on the initial extrinsic parameter and the intrinsic parameter, a second location with a maximum value of a near-point distance of a field of view (FOV) of the camera and a third location with a minimum value of a far-point distance of the FOV; and
setting a region between the second location and the third location as the first location.

### Claim 10 (depends on 9)

The positioning method of claim 9, wherein the initial extrinsic parameter comprises a fourth location of the camera, a height of the camera, and a pitch angle of the camera.

### Claim 11

An apparatus comprising:
a memory configured to store instructions; and
at least one processor coupled to the memory and configured to execute the instructions to:
obtain an extrinsic parameter of a camera;
obtain an intrinsic parameter of the camera based on first world coordinates of a plurality of points in a shooting region of the camera, first image coordinates of the points, and the intrinsic parameter;
obtain second image coordinates of a target in an image shot by the camera; and
obtain second world coordinates of the target based on the extrinsic parameter, the intrinsic parameter, and the second image coordinates.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the target is a vehicle, and wherein the at least one processor is further configured to execute the instructions to:
obtain image information of the target;
query for a feature parameter of the vehicle based on the image information;
obtain a physical transformation matrix corresponding to the extrinsic parameter based on the extrinsic parameter;
obtain an intrinsic parameter matrix of the camera based on the intrinsic parameter;
perform coordinate transformation on the second image coordinates, the physical transformation matrix, and the intrinsic parameter matrix to obtain third world coordinates; and
further obtain the second world coordinates based on the feature parameter, a height of the camera, a location of the camera, and the third world coordinates.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the second image coordinates are of a feature pixel of the target in the image.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the target is other than a vehicle, and wherein the at least one processor is further configured to execute the instructions to:
obtain a physical transformation matrix corresponding to the extrinsic parameter based on the extrinsic parameter;
obtain an intrinsic parameter matrix of the camera based on the intrinsic parameter; and
perform coordinate transformation on the second image coordinates of the target, the physical transformation matrix, and the intrinsic parameter matrix to obtain the second world coordinates.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the second image coordinates are of a contact point between the target and ground in the image.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein the at least one processor is further configured to execute the instructions to:
obtain third world coordinates of a special visual identifier in the shooting region, wherein the special visual identifier is located between a near-point of a field of view of the camera, and a far-point of the field of view of the camera;
obtain the first world coordinates based on the third world coordinates;
obtain third image coordinates of the special visual identifier; and
obtain the first image coordinates based on the third image coordinates.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the special visual identifier is a first division line, and wherein the first division line is different from a second division line surrounding the first division line.
