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
readonlydata: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
readonlyheight:number
Defined in: extensions/cv/tasks/depthEstimation.ts:30
Height of the depth map in pixels.
width
readonlywidth:number
Defined in: extensions/cv/tasks/depthEstimation.ts:28
Width of the depth map in pixels.