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].
pub fn depth_tensor_to_depth_map(
tensor: &TensorBuffer,
) -> VisionResult<DepthMap>Converts a host depth tensor into a DepthMap.
Accepted shapes: [H,W], [1,H,W], or [1,1,H,W].