MCPcopy Create free account
hub / github.com/HVision-NKU/DepthAnythingAC / normalize_depth

Function normalize_depth

tools/infer.py:19–36  ·  view source on GitHub ↗

Convert disparity to depth using normalization method. Args: disparity_tensor (torch.Tensor): Predicted disparity values Returns: torch.Tensor: depth values

(disparity_tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

infer_single_imageFunction · 0.85
infer_videoFunction · 0.85

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected