Skip to content

DepthEstimatorModel

Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:35

What to load. Every field is optional; a missing modelPath comes from models.depthEstimation.DEPTHART.DEFAULT.

readonly optional modelPath?: ModelPath

Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:37

The weights: a safetensors export of a DepthART relative checkpoint.


readonly optional resizeMode?: ResizeMode

Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:42

How an image is fitted into the model input. Default stretch, so the map covers the whole image.


readonly optional variant?: DepthartVariant

Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:39

Model size, b or s. Default: read from the weights.