Skip to main content

depth_tensor_to_depth_map

Function depth_tensor_to_depth_map 

pub fn depth_tensor_to_depth_map(
    tensor: &TensorBuffer,
) -> Result<DepthMap, VisionError>
Expand description

Converts a host depth tensor into a DepthMap.

Accepted shapes: [H,W], [1,H,W], or [1,1,H,W].