Skip to main content

depth_tensor_to_depth_map

Function depth_tensor_to_depth_map 

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

Converts a host depth tensor into a DepthMap.

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