Depth estimation model are usually used to approximate the relative distance of every pixel in an image from the camera, also known as depth.
X-AnyLabeling offers a range of depth models for using, including Depth Anything V1 and Depth Anything V2.
- Depth Anything V1 is a highly practical solution for robust monocular depth estimation by training on a combination of 1.5M labeled images and 62M+ unlabeled images.
- Depth Anything V2 significantly outperforms its predecessor, V1, in terms of fine-grained detail and robustness. In comparison to SD-based models, V2 boasts faster inference speed, a reduced number of parameters, and enhanced depth accuracy.
girl.mov
- Import your image (
Ctrl+I
) or video (Ctrl+O
) file into the X-AnyLabeling. - Select and load the Depth-Anything related model, or choose from other available depth estimation models.
- Initiate the process by clicking
Run (i)
. Once you've verified that everything is set up correctly, use the keyboard shortcutCtrl+M
to process all images in one go.
The output, once completed, will be automatically stored in a x-anylabeling-depth
subdirectory within the same folder as your original image.
Tip
Two output modes are supported: grayscale and color. You can switch between these modes by modifying the render_mode
parameter in the respective configuration file.