ComfyUI Node

DepthPro Estimate

Estimate depth using DepthPro. 'relative' mode for visual quality (like Marigold), 'metric' for absolute depth in meters. raw_depth/raw_inverse are unnormalized for precise measurements.

By EricRollei·Created 7 months ago·Updated 3 months ago· 18
DepthPro Estimate
  • depth_model
  • image
  • depth_map
  • disparity_map
  • raw_depth
  • raw_inverse
  • visualization
  • focal_length
focal_length_px0.0
depth_moderelative
colormapturbo
interpolationbicubic
CategoryRefocus/Depth

Inputs (6)

NameTypeDefaultDescription
depth_modelDEPTH_PRO_MODEL
imageIMAGE
focal_length_pxoptFLOAT0.00–10000Focal length in pixels. 0 = auto-estimate from FOV head
depth_modeoptCOMBOrelativemetric = absolute depth in meters (uses focal length). relative = normalized depth structure (ignores focal length, similar to Marigold).
colormapoptCOMBOturboColormap for visualization. 'turbo' matches Apple's official examples.
interpolationoptCOMBObicubicInterpolation mode for resizing. 'bicubic' gives sharper edges.

Outputs (6)

NameTypeDescription
depth_mapIMAGE
disparity_mapIMAGE
raw_depthIMAGE
raw_inverseIMAGE
visualizationIMAGE
focal_lengthFLOAT