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): Architectureimport { depthAnything2 } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
config | DepthAnything2Config | |
height | number | |
width | number |