Drop images to stand them up as cards at chosen distances, then photograph them. Cut-out PNGs with transparency work best — a card with no alpha fills the frame and hides everything behind it.
Because you place the cards, the depth is known rather than estimated. The exported depth map is exact.