Skip to main content
Version: Next

Type Alias: DepthEstimatorOptions

DepthEstimatorOptions = Omit<ImagePreprocessorOptions, "resizeMode" | "padValue"> & object

Defined in: extensions/cv/tasks/depthEstimation.ts:38

Options for configuring a depth estimator preprocessor and output interpolation.

Type Declaration​

outInterpolation​

readonly outInterpolation: InterpolationMethod

Interpolation method used when resizing depth maps back to input image dimensions.

resizeMode​

readonly resizeMode: "stretch"

Resize mode for input images. Must be 'stretch'.