Skip to main content
Version: Next

Type Alias: DepthMap

DepthMap = object

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

Result structure representing the output of a depth estimation task.

Properties​

data​

readonly data: Float32Array

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

Raw model values, indexed as data[y * width + x]. Each result owns its buffer. Values are not normalized or converted to display pixels. Interpretation and units depend on the loaded model.


height​

readonly height: number

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

Height of the depth map in pixels.


width​

readonly width: number

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

Width of the depth map in pixels.

We are Software Mansion.