Depth Pro - Sharp Monocular Metric Depth
by chenlinco.huggingface.chenlin/depth-pro-demo
- Remote endpoint
- 2 tools
- APPLE-AMLR
Tools
depth_pro_demo_estimate_depthEstimate zero-shot metric depth, horizontal field of view, and camera focal length from an RGB image. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: A tuple of:, - ImageSlider pair: (Original Image, Colored Depth Map), - Colored Depth Map PIL Image, - Horizontal Field of View string, - Estimated Focal Length string, - Minimum Depth in meters, - Maximum Depth in meters, - Path to exported 16-bit PNG depth map (mm scale), - Raw depth numpy array in meters (stored in Gradio state)depth_pro_demo_render_bokehSimulate realistic optical depth-of-field blur using metric depth estimates. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: Rendered image with synthetic optical bokeh.
No tool matches.
As the server's own listing gives them. We never call a tool.