This tool segments an image based on depth.
You can create depth maps using Depth Anything on Hugging Face or run it locally from the source.
Select an image to segment:
Or upload an image:
And a depth map:
Result: