# US 2025/0384671 A1 · Training method of depth estimation model, terminal and storage medium

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

- Number: US 2025/0384671 A1
- Document ID: US20250384671A1
- Status: Published application
- Kind: A1
- Application number: 19/240,886
- Filed: 2025-06-17
- Published: 2025-12-18
- Earliest claimed: 2024-06-17
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Guangyuan ZHOU; Zhengxin LI; Qiang RAO; Xiao LIU
- Web page: https://patentgrep.com/patent/US20250384671A1

## CPC

- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06T 7/50: Depth or shape recovery
- G06V 10/72: Data preparation, e.g. statistical preprocessing of image or video features
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/762: using clustering, e.g. of similar faces in social networks
- G06T 2207/20081: Training; Learning
- G06T 2207/30168: Image quality inspection
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A training method of depth estimation model, terminal and storage medium are provided by the present disclosure. The method includes: acquiring selective depth data; training the depth estimation model by using the selective depth data to obtain a trained depth estimation model; where the acquiring selective depth data includes: acquiring a depth data set; performing quality assessment on the depth data set to obtain first depth data; performing mean-shift on the first depth data to obtain second depth data; performing fine-tuning on a pre-training depth model by using the second depth data to obtain a metric depth model; and performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data.

## Claims

### Claim 1

A training method of a depth estimation model, comprising:
acquiring selective depth data;
training the depth estimation model by using the selective depth data to obtain a trained depth estimation model;
wherein the acquiring selective depth data comprises:
acquiring a depth data set;
performing quality assessment on the depth data set to obtain first depth data;
performing mean-shift on the first depth data to obtain second depth data;
performing fine-tuning on a pre-training depth model by using the second depth data to obtain a metric depth model; and
performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data.

### Claim 2 (depends on 1)

The training method of the depth estimation model according to claim 1, wherein the performing quality assessment on the depth data set to obtain first depth data comprises:
training a known model by using the depth data set, and assessing a quality of the depth data set based on zero-shot result data of the known model on different depth data sets, and coverage, density and quantity corresponding to the depth data set.

### Claim 3 (depends on 1)

The training method of the depth estimation model according to claim 1, wherein the performing mean-shift on the first depth data to obtain second depth data comprises:
initializing a bandwidth threshold;
taking, based on a Gaussian function, a weighted average value of distances between a current data point and data points within a range corresponding to the bandwidth threshold as a current density value;
updating all data points according to the weighted average value, after multiple iterations, determining converged points as clustering centers, and classifying points converging to a same clustering center into one cluster; and
for a clustering center of each cluster, determining cosine similarity between the clustering center and each data point, and selecting data that is most similar to the clustering center to obtain the second depth data.

### Claim 4 (depends on 1)

The training method of the depth estimation model according to claim 1, wherein the performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data comprises:
inputting the first depth data into the metric depth model, and determining data having a data error predicted by the metric depth model higher than or equal to a preset threshold as the selective depth data.

### Claim 5 (depends on 1)

The training method of the depth estimation model according to claim 1, wherein the training the depth estimation model by using the selective depth data comprises:
training the depth estimation model by using the selective depth data and a joint supervision function, wherein the joint supervision function comprises a gradient angle function, the gradient angle function constrains an absolute error loss between angles of a depth gradient in length and width directions and an angle of a true depth gradient.

### Claim 6 (depends on 5)

The training method of the depth estimation model according to claim 5, wherein the joint supervision function further comprises a scale shift invariant loss function, a scale-invariant logarithmic loss function and a random proposal normalization loss function.

### Claim 7

A training method of a depth estimation model, comprising:
determining a joint supervision function, wherein the joint supervision function comprises a gradient angle function, the gradient angle function constrains an absolute error loss between angles of a depth gradient in length and width directions and an angle of a true depth gradient; and
training the depth estimation model by using the joint supervision function to obtain a trained depth estimation model.

### Claim 8

A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored by the at least one memory to execute a training method of a depth estimation model, which comprises:
acquiring selective depth data;
training the depth estimation model by using the selective depth data to obtain a trained depth estimation model;
wherein the acquiring selective depth data comprises:
acquiring a depth data set;
performing quality assessment on the depth data set to obtain first depth data;
performing mean-shift on the first depth data to obtain second depth data;
performing fine-tuning on a pre-training depth model by using the second depth data to obtain a metric depth model; and
performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data.

### Claim 9 (depends on 8)

The terminal according to claim 8, wherein the performing quality assessment on the depth data set to obtain first depth data comprises:
training a known model by using the depth data set, and assessing a quality of the depth data set based on zero-shot result data of the known model on different depth data sets, and coverage, density and quantity corresponding to the depth data set.

### Claim 10 (depends on 8)

The terminal according to claim 8, wherein the performing mean-shift on the first depth data to obtain second depth data comprises:
initializing a bandwidth threshold;
taking, based on a Gaussian function, a weighted average value of distances between a current data point and data points within a range corresponding to the bandwidth threshold as a current density value;
updating all data points according to the weighted average value, after multiple iterations, determining converged points as clustering centers, and classifying points converging to a same clustering center into one cluster; and
for a clustering center of each cluster, determining cosine similarity between the clustering center and each data point, and selecting data that is most similar to the clustering center to obtain the second depth data.

### Claim 11 (depends on 8)

The terminal according to claim 8, wherein the performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data comprises:
inputting the first depth data into the metric depth model, and determining data having a data error predicted by the metric depth model higher than or equal to a preset threshold as the selective depth data.

### Claim 12 (depends on 8)

The terminal according to claim 8, wherein the training the depth estimation model by using the selective depth data comprises:
training the depth estimation model by using the selective depth data and a joint supervision function, wherein the joint supervision function comprises a gradient angle function, the gradient angle function constrains an absolute error loss between angles of a depth gradient in length and width directions and an angle of a true depth gradient.

### Claim 13 (depends on 12)

The terminal according to claim 12, wherein the joint supervision function further comprises a scale shift invariant loss function, a scale-invariant logarithmic loss function and a random proposal normalization loss function.

### Claim 14 (depends on 7)

A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored by the at least one memory to execute the training method of the depth estimation model according to claim 7.

### Claim 15 (depends on 1)

A non-transitory storage medium, wherein the non-transitory storage medium is used to storage program code, and the program code is used to execute the training method of the depth estimation model according to claim 1.

### Claim 16 (depends on 15)

The non-transitory storage medium according to claim 15, wherein the performing quality assessment on the depth data set to obtain first depth data comprises:
training a known model by using the depth data set, and assessing a quality of the depth data set based on zero-shot result data of the known model on different depth data sets, and coverage, density and quantity corresponding to the depth data set.

### Claim 17 (depends on 15)

The non-transitory storage medium according to claim 15, wherein the performing mean-shift on the first depth data to obtain second depth data comprises:
initializing a bandwidth threshold;
taking, based on a Gaussian function, a weighted average value of distances between a current data point and data points within a range corresponding to the bandwidth threshold as a current density value;
updating all data points according to the weighted average value, after multiple iterations, determining converged points as clustering centers, and classifying points converging to a same clustering center into one cluster; and
for a clustering center of each cluster, determining cosine similarity between the clustering center and each data point, and selecting data that is most similar to the clustering center to obtain the second depth data.

### Claim 18 (depends on 15)

The non-transitory storage medium according to claim 15, wherein the performing necessity assessment on the first depth data by using the metric depth model to obtain the selective depth data comprises:
inputting the first depth data into the metric depth model, and determining data having a data error predicted by the metric depth model higher than or equal to a preset threshold as the selective depth data.

### Claim 19 (depends on 15)

The non-transitory storage medium according to claim 15, wherein the training the depth estimation model by using the selective depth data comprises:
training the depth estimation model by using the selective depth data and a joint supervision function, wherein the joint supervision function comprises a gradient angle function, the gradient angle function constrains an absolute error loss between angles of a depth gradient in length and width directions and an angle of a true depth gradient.

### Claim 20 (depends on 7)

A non-transitory storage medium, wherein the non-transitory storage medium is used to storage program code, and the program code is used to execute the training method of the depth estimation model according to claim 7.
