Skip to content

Implement Depth Estimation Pipeline #2194

Open
@Sohaib-Ahmed21

Description

@Sohaib-Ahmed21

Depth estimation is the process of determining the distance of objects from a viewpoint, which is crucial for various applications in computer vision, including autonomous driving, augmented reality, and 3D reconstruction..

Sample Input and Output:

Image

Sample images (up) and depth annotation (down).

Applications of Depth Estimation:

  1. Estimation of Volumetric Information: Depth estimation models help study the volumetric formation of objects in images, crucial for computer graphics.
  2. 3D Representation: Depth estimation enables the development of 3D representations from 2D images.
  3. Augmented Reality: Depth estimation ensures accurate object placement and perspective calibration in AR applications.
  4. Robotics and Object Trajectory Estimation: Depth information helps estimate the motion trajectory of objects in 3D space.
  5. Haze and Fog Removal: Depth estimation aids in removing haze and fog by understanding how they affect distant objects.
  6. Portrait Mode: Depth-based blur in portrait mode enhances the focus on subjects and creates appealing background effects.

Depth Estimation Subtasks:

There are two depth estimation subtasks.

Absolute depth estimation: Absolute (or metric) depth estimation aims to provide exact depth measurements from the camera. Absolute depth estimation models output depth maps with real-world distances in meter or feet.

Relative depth estimation: Relative depth estimation aims to predict the depth order of objects or points in a scene without providing the precise measurements.

Depth Estimation Models

Why will it be a good addition?

The backbone of above models already exist in keras-hub and above models will also be compatible with keras-hub structure and API, so it will be easy to add them. The pipeline will also follow the same workflow as other pipelines of image classifcation, object detection, etc. Also, above applications are quite crucial in daily life and this pipeline will help users perform above tasks through keras-hub with greater ease.

I'd love to hear comments from the community. FYI @divyashreepathihalli @mattdangerw @sineeli

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions