Self-supervised training of a depth estimation system
Abstract
A method for training a depth estimation model and methods for use thereof are described. Images are acquired and input into a depth model to extract a depth map for each of the plurality of images based on parameters of the depth model. The method includes inputting the images into a pose decoder to extract a pose for each image. The method includes generating a plurality of synthetic frames based on the depth map and the pose for each image. The method includes calculating a loss value with an input scale occlusion and motion aware loss function based on a comparison of the synthetic frames and the images. The method includes adjusting the plurality of parameters of the depth model based on the loss value. The trained model can receive an image of a scene and generate a depth map of the scene according to the image.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 0.
Claims (21 — 3 Independent, 18 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium storing: a depth-pose hybrid model including a depth encoder and a pose decoder, wherein the pose decoder is configured to receive input based on output from the depth encoder, the depth-pose hybrid model manufactured by a process comprising: acquiring a set of images; applying the depth-pose hybrid model to generate depth maps and poses for the set of images based on parameters of the depth-pose hybrid model; generating synthetic frames based on the depth maps and the poses for the set of images; calculating a loss value with a loss function based on a comparison of the synthetic frames and the set of images; and adjusting the parameters of the depth-pose hybrid model based on the loss value; and instructions that, when executed by a computing device, cause the computing device to apply the depth-pose hybrid model to an image of a scene to generate a depth map of the scene.
- Claim 2Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the depth encoder and the pose decoder share at least some of the parameters of the depth-pose hybrid model.
- Claim 3Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein generating the depth maps and the poses for the set of images comprises: applying the depth encoder to the set of images to generate the depth maps; and applying the pose decoder to the depth maps to generate the poses.
- Claim 4Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the set of images comprises monocular video with each image of the monocular video captured at a corresponding timestamp, wherein generating the synthetic frames comprises: for images of the monocular video, generating synthetic frames at adjacent timestamps.
- Claim 5Depends on #4
The non-transitory computer-readable storage medium of claim 4, wherein calculating the loss value with the loss function comprises: calculating, for images of the monocular video, differentials between generated synthetic frames and images of the monocular video with matching timestamps.
- Claim 6Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein: the set of images includes a first image at a first timestamp, a second image at a second timestamp, and a third image at a third timestamp, a first synthetic frame is generated at the second timestamp with the first image and a second synthetic frame is generated at the second timestamp with the third image, and calculating the loss value with the loss function further comprises: calculating a first set of differentials between the first synthetic frame and the second image and a second set of differentials between the second synthetic frame and the second image; and for each pixel of the second image, identifying a minimum differential between the first set of differentials and the second set of differentials, wherein the loss value is based on the minimum differentials.
- Claim 7Depends on #5
The non-transitory computer-readable storage medium of claim 5, wherein calculating the loss value with the loss function further comprises: identifying one or more static features in the monocular video, wherein the loss value is based on filtering out the differentials of the one or more static features.
- Claim 8Depends on #7
The non-transitory computer-readable storage medium of claim 7, wherein identifying the one or more static features in the monocular video comprises: identifying a region in a first image at a first timestamp of the monocular video and in a second image at a second timestamp of the monocular video; determining whether an object is in a similar position between the first image and the second image; and in response to determining that the object is in the similar position between the first image and the second image, defining the region as a static feature.
- Claim 9Depends on #1
The non-transitory computer-readable storage medium of claim 1, wherein the set of images comprises stereoscopic image pairs with each stereoscopic image pair captured by a stereoscopic pair of cameras, wherein generating the synthetic frames comprises: for each stereoscopic image pair, generating a synthetic frame based on a first image of the stereoscopic image pair.
- Claim 10Depends on #9
The non-transitory computer-readable storage medium of claim 9, wherein adjusting the parameters of the depth-pose hybrid model based on the comparison of the synthetic frames and the set of images comprises: calculating, for each stereoscopic image pair, a differential between the generated synthetic frame and a second image of the stereoscopic image pair; and adjusting the parameters to minimize the differentials.
- Claim 11Independent Claim
A computer-implemented method comprising: receiving an image of a scene; inputting the image into a depth-pose hybrid model including a depth encoder and a pose decoder, wherein the pose decoder is configured to receive input based on output from the depth encoder, the depth-pose hybrid model trained with a process including: acquiring a set of images; inputting the set of images into the depth-pose hybrid model to extract depth maps and poses for the set of images based on parameters of the depth-pose hybrid model; generating synthetic frames based on the depth maps and the poses for the set of images; calculating a loss value with a loss function based on a comparison of the synthetic frames and the set of images; and adjusting the parameters of the depth-pose hybrid model based on the comparison of the synthetic frames and the set of images; and generating, by the depth-pose hybrid model, a depth map of the scene corresponding to the image of the scene.
- Claim 12Depends on #11
The computer-implemented method of claim 11, wherein the depth encoder and the pose decoder share at least some of the parameters of the depth-pose hybrid model.
- Claim 13Depends on #11
The computer-implemented method of claim 11, wherein generating the depth maps and the poses for the set of images comprises: applying the depth encoder to the set of images to generate the depth maps; and applying the pose decoder to the depth maps to generate the poses.
- Claim 14Depends on #11
The computer-implemented method of claim 11, wherein the set of images comprises monocular video with each image of the monocular video captured at a corresponding timestamp, wherein generating the synthetic frames comprises: for images of the monocular video, generating synthetic frames at adjacent timestamps.
- Claim 15Depends on #14
The computer-implemented method of claim 14, wherein calculating the loss value with the loss function comprises: calculating, for images of the monocular video, differentials between generated synthetic frames and images of the monocular video with matching timestamps.
- Claim 16Depends on #11
The computer-implemented method of claim 11, wherein: the set of images includes a first image at a first timestamp, a second image at a second timestamp, and a third image at a third timestamp, a first synthetic frame is generated at the second timestamp with the first image and a second synthetic frame is generated at the second timestamp with the third image, and calculating the loss value with the loss function further comprises: calculating a first set of differentials between the first synthetic frame and the second image and a second set of differentials between the second synthetic frame and the second image; and for each pixel of the second image, identifying a minimum differential between the first set of differentials and the second set of differentials, wherein the loss value is based on the minimum differentials.
- Claim 17Depends on #11
The computer-implemented method of claim 11, further comprising: displaying the image of the scene augmented with virtual content based on the depth map of the scene.
- Claim 18Independent Claim
A non-transitory computer-readable storage medium storing instructions that, when executed by a computing device, cause the computing device to perform operations comprising: receiving an image of a scene; inputting the image into a depth-pose hybrid model including a depth encoder and a pose decoder, wherein the pose decoder is configured to receive input based on output from the depth encoder, the depth-pose hybrid model trained with a process including: acquiring a set of images; inputting the set of images into the depth-pose hybrid model to extract depth maps and poses for the set of images based on parameters of the depth-pose hybrid model; generating synthetic frames based on the depth maps and the poses for the set of images; calculating a loss value with a loss function based on a comparison of the synthetic frames and the set of images; and adjusting the parameters of the depth-pose hybrid model based on the comparison of the synthetic frames and the set of images; and generating, by the depth-pose hybrid model, a depth map of the scene corresponding to the image of the scene.
- Claim 19Depends on #18
The non-transitory computer-readable storage medium of claim 18, wherein: the set of images includes a first image at a first timestamp, a second image at a second timestamp, and a third image at a third timestamp, a first synthetic frame is generated at the second timestamp with the first image and a second synthetic frame is generated at the second timestamp with the third image, and calculating the loss value with the loss function further comprises: calculating a first set of differentials between the first synthetic frame and the second image and a second set of differentials between the second synthetic frame and the second image; and for each pixel of the second image, identifying a minimum differential between the first set of differentials and the second set of differentials, wherein the loss value is based on the minimum differentials.
- Claim 20Depends on #18
The non-transitory computer-readable storage medium of claim 18: wherein the set of images comprises monocular video with each image of the monocular video captured at a corresponding timestamp; wherein generating the synthetic frames comprises: for images of the monocular video, generating synthetic frames at adjacent timestamps; wherein calculating the loss value with the loss function comprises: calculating, for images of the monocular video, differentials between generated synthetic frames and images of the monocular video with matching timestamps; wherein calculating the loss value with the loss function further comprises: identifying one or more static features in the monocular video; and wherein the loss value is based on filtering out the differentials of the one or more static features.
- Claim 21Depends on #1
The non-transitory computer-readable storage medium of claim 1: wherein the depth maps generated by the depth-pose hybrid model have lower resolutions than corresponding images of the set of images; and wherein the process further comprises, prior to generating the synthetic frames, upsampling the depth maps to resolutions of corresponding images of the set of images.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/354,517, filed Jun. 22, 2021, and issued as U.S. Pat. No. 11,991,342, which is a continuation of U.S. patent application Ser. No. 16/413,907, filed May 16, 2019, and issued as U.S. Pat. No. 11,082,681 on Aug. 3, 2021, which claims priority to and the benefit of U.S. Provisional Patent Application No. 62/673,045 filed on May 17, 2018, each of which is incorporated herein by reference in its entirety. BACKGROUND Technical Field The subject matter described generally relates to estimating a depth map from a single color input image, and in particular to a machine-learned model for estimating the depth map trained using video data and/or stereoscopic image data. Problem Depth sensing has applications in both navigation and scene understanding. Many methods use trained models or networks to determine a depth map from a single color input image. There are a few methods that use different kinds of training data for training the depth estimation system. A depth estimation system may be trained using a detection and ranging system to establish a ground truth depth for objects in an environment (i.e., radio detecting and ranging (RADAR), light detection and ranging (LIDAR), etc.) paired with images taken of the same scene by a camera. Although detection and ranging systems can provide a ground truth of depth of objects, constantly utilizing detection and ranging systems to sense depth of many different environments can be a costly endeavor in time and resources. Moreover, detection and ranging systems are unable to determine depth of some objects that may have material properties (e.g., reflective objects) that render them undetectable by the detection and ranging systems. Another method of training a depth estimation system utilizes stereoscopic image pairs of the same scene. To capture stereoscopic image pairs at a single temporal instance depends on using two c
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (33)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- China National Intellectual Property Administration, Office Action, CN Patent Application No. 201980047649.X, Oct. 13, 2021, 15 pages.
- China National Intellectual Property Administration, Office Action, CN Patent Application No. 202080005441.4, Nov. 1, 2021, 12 pages.
- European Patent Office, Extended European Search Report and Opinion, EP Patent Application No. 19802580.1, May 7, 2021, nine pages.
- Garg, R. et al.,
- “
- Unsupervised cnn for single view depth estimation: Geometry to the rescue,
- ”
- European Conference on Computer Vision, Oct. 8, 2016, pp. 740-756.
- Godard, C. et al.,
- “