# US 2021/0343043 A1 · Adversarial scene adaptation for camera pose regression

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

- Number: US 2021/0343043 A1
- Document ID: US20210343043A1
- Status: Published application
- Kind: A1
- Application number: 16/861,838
- Filed: 2020-04-29
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: Naver Corporation; Naver Labs Corporation
- Applicants: Naver Corporation; Naver Labs Corporation
- Inventors: Boris CHIDLOVSKII
- Web page: https://patentgrep.com/patent/US20210343043A1

## CPC

- G06T 7/73: using feature-based methods
- G06T 7/75: {involving models}
- G06T 3/147: using affine transformations
- G06T 3/18: Image warping, e.g. rearranging pixels individually
- G06T 2207/10016: Video; Image sequence
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30241: Trajectory
- G06T 2207/30244: Camera pose
- G06T 2207/30252: Vehicle exterior; Vicinity of vehicle
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A pose estimation training system includes: a first model configured to generate a first 6 degrees of freedom (DoF) pose of a first camera that captured a first image from a first domain; a second model configured to generate a second 6 DoF pose of a second camera that captured a second image from a second domain, where the second domain is different than the first domain; a discriminator module configured to, based on first and second outputs from the first and second encoder modules, generate a discriminator output indicative of whether the first and second images are from the same domain; and a training control module configured to, based on the discriminator output, selectively adjust at least one weight value shared by the first model and the second model.

## Claims

### Claim 1

A training system, comprising:
a first model including:
a first encoder module configured to generate a first vector representation based on a first image from a first domain using first weight values;
a first localizer module configured to generate a second vector representation based on the first vector representation; and
a first regressor module configured to generate a first 6 degrees of freedom (DoF) pose of a first camera that captured the first image based on the second vector representation using second weight values;
a second model including:
a second encoder module configured to generate a third vector representation based on a second image from a second domain using the first weight values,
wherein the second domain is different than the first domain;
a second localizer module configured to generate a fourth vector representation based on the third vector representation; and
a second regressor module configured to generate a second 6 DoF pose of a second camera that captured the second image based on the fourth vector representation and using the second weight values;
a discriminator module configured to, based on first and second outputs from the first and second encoder modules, generate a discriminator output indicative of whether the first and second images are from the same domain; and
a training control module configured to, based on the discriminator output, selectively adjust at least one of:
at least one of the first weight values; and
at least one of the second weight values.

### Claim 2 (depends on 1)

The training system of claim 1 wherein the training control module is configured to adjust at least one of the first weight values until the discriminator output indicates that the first and second images are from the same domain.

### Claim 3 (depends on 1)

The training system of claim 1 wherein the training control module is configured to input a different first image to the first model in response to the discriminator output indicating that the first and second images are from the same domain.

### Claim 4 (depends on 1)

The training system of claim 1 wherein the training control module is configured to input a different second image to the second model in response to the discriminator output indicating that the first and second images are from the same domain.

### Claim 5 (depends on 1)

The training system of claim 1 wherein the training control module is configured to, in response to the discriminator output indicating that the first and second images are from the same domain:
apply a geometric transformation to the first image, thereby generating a geometrically transformed image; and
input the geometrically transformed image to the first model.

### Claim 6 (depends on 5)

The training system of claim 5 wherein the geometric transformation includes a rotation of the image by a predetermined angle.

### Claim 7 (depends on 5)

The training system of claim 5 wherein the geometric transformation includes one of translation, affine warping, and distortion.

### Claim 8 (depends on 1)

The training system of claim 1 wherein the training control module is further configured to store in memory the first model, the first weight values, and the second weight values.

### Claim 9 (depends on 1)

The training system of claim 1 wherein:
the first localizer module includes at least one fully connected layers configured to map the first vector representation to the second vector representation; and
the second localizer module includes the at least one fully connected layers configured to map the third vector representation to the fourth vector representation.

### Claim 10 (depends on 1)

The training system of claim 1 wherein the first and second regressor modules each include at least two separate connected layers.

### Claim 11 (depends on 1)

The training system of claim 1 wherein the first and second encoder modules each include an encoder and a fully connected layer localizer.

### Claim 12 (depends on 1)

A vehicle comprising:
at least one propulsion device;
memory including:
the first model of claim 1; and
the first and second weight values;
a camera configured to capture an image;
a pose module configured to determine a 6 DoF pose of the camera based on the image and using the first model and the first and second weight values; and
a control module configured to actuate the at least one propulsion device based on the 6 DoF pose of the camera.

### Claim 13 (depends on 1)

The training system of claim 1 wherein the first and second DoF poses are absolute 6 DoF poses.

### Claim 14 (depends on 1)

The training system of claim 1 wherein the first and second DoF poses are relative 6 DoF poses.

### Claim 15 (depends on 1)

The training system of claim 1 wherein the training control module is configured to adjust at least one of the first weight values based on minimizing a loss of the discriminator module.

### Claim 16 (depends on 1)

The training system of claim 1 wherein the training control module is configured to adjust at least one of the second weight values based on minimizing a loss of the first and second regressor modules.

### Claim 17 (depends on 1)

The training system of claim 1 wherein:
the first 6 DoF includes:
a first three dimensional position of the first camera that captured the first image; and
a first three dimensional orientation of the first camera that captured the first image; and
the second 6 DoF includes:
a second three dimensional position of the second camera that captured the second image; and
a second three dimensional orientation of the second camera that captured the second image.

### Claim 18

A training method, comprising:
by a first model:
generating a first vector representation based on a first image from a first domain using first weight values;
generating a second vector representation based on the first vector representation; and
generating a first 6 degrees of freedom (DoF) pose of a first camera that captured the first image based on the second vector representation using second weight values;
by a second model:
generating a third vector representation based on a second image from a second domain using the first weight values,
wherein the second domain is different than the first domain;
generating a fourth vector representation based on the third vector representation; and
generating a second 6 DoF pose of a second camera that captured the second image based on the fourth vector representation and using the second weight values;
based on first and second outputs from the first and second models, generating a discriminator output indicative of whether the first and second images are from the same domain; and
based on the discriminator output, selectively adjusting at least one of:
at least one of the first weight values; and
at least one of the second weight values.

### Claim 19

A non-transitory computer readable medium comprising code that, when executed by one or more processors, performs a training method, comprising:
by a first model:
generating a first vector representation based on a first image from a first domain using first weight values;
generating a second vector representation based on the first vector representation; and
generating a first 6 degrees of freedom (DoF) pose of a first camera that captured the first image based on the second vector representation using second weight values;
by a second model:
generating a third vector representation based on a second image from a second domain using the first weight values,
wherein the second domain is different than the first domain;
generating a fourth vector representation based on the third vector representation; and
generating a second 6 DoF pose of a second camera that captured the second image based on the fourth vector representation and using the second weight values;
based on first and second outputs from the first and second models, generating a discriminator output indicative of whether the first and second images are from the same domain; and
based on the discriminator output, selectively adjusting at least one of:
at least one of the first weight values; and
at least one of the second weight values.

### Claim 20

A training system, comprising:
a first means for:
generating a first vector representation based on a first image from a first domain using first weight values;
generating a second vector representation based on the first vector representation; and
generating a first 6 degrees of freedom (DoF) pose of a first camera that captured the first image based on the second vector representation using second weight values;
a second means for:
generating a third vector representation based on a second image from a second domain using the first weight values,
wherein the second domain is different than the first domain;
generating a fourth vector representation based on the third vector representation; and
generating a second 6 DoF pose of a second camera that captured the second image based on the fourth vector representation and using the second weight values;
a third means for, based on first and second outputs from the first and second means, generating a discriminator output indicative of whether the first and second images are from the same domain; and
a fourth means for, based on the discriminator output, selectively adjust at least one of:
at least one of the first weight values; and
at least one of the second weight values.

### Claim 21

A pose estimation training system, comprising:
a first model configured to generate a first 6 degrees of freedom (DoF) pose of a first camera that captured a first image from a first domain;
a second model configured to generate a second 6 DoF pose of a second camera that captured a second image from a second domain, where the second domain is different than the first domain;
a discriminator module configured to, based on first and second outputs from the first and second encoder modules, generate a discriminator output indicative of whether the first and second images are from the same domain; and
a training control module configured to, based on the discriminator output, selectively adjust at least one weight value shared by the first model and the second model.

### Claim 22 (depends on 21)

The training system of claim 21 wherein the first model further comprises:
a first encoder module configured to generate a first vector representation based on the first image using first weight values;
a first localizer module configured to generate a second vector representation based on the first vector representation; and
a first regressor module configured to generate the first 6 degrees of freedom (DoF) pose of a first camera based on the second vector representation using second weight values.

### Claim 23 (depends on 22)

The training system of claim 22 wherein the second model further comprises:
a second encoder module configured to generate a third vector representation based on a second image using the first weight values;
a second localizer module configured to generate a fourth vector representation based on the third vector representation; and
a second regressor module configured to generate a second 6 DoF pose of the second camera based on the fourth vector representation and using the second weight values.

### Claim 24 (depends on 23)

The training system of claim 23 wherein the training control module is configured to selectively adjust the first model and the second model by adjusting at least one of:
at least one of the first weight values; and
at least one of the second weight values.
