DriftCapture · function

depthAnything2

The graph for one image of height × width pixels, each a multiple of the patch, normalised by ImageNet's mean and deviation: input image, [3, height, width]; output depth, [1, height, width].

Explained in DriftCapture.

function depthAnything2(config: DepthAnything2Config, height: number, width: number): Architecture
import { depthAnything2 } from '@driftengine/capture';

Parameters

ParameterTypeDescription
configDepthAnything2Config
heightnumber
widthnumber