DriftCapture · function
decodeDepth
Depth and confidence from one view's logits, [2, height, width]: exp of the first channel,
and one more than exp of the second, into the caller's maps.
Explained in DriftCapture.
function decodeDepth(logits: Float32Array, depth: Float32Array, confidence: Float32Array): voidimport { decodeDepth } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
logits | Float32Array | |
depth | Float32Array | |
confidence | Float32Array |