'Digital Measuring Tape' application is used to measure distance between smartphone camera and plane surface both horizontal and vertical.
Vertical detection doesn't work on bare wall due to ARCore technology which doesn't work so well in those situation for current generations of smartphones.
Horizontal detection works much better.
You can measure distance from selected point even if you walk out from selected place and point is not in the view of the camera.
'Digital Measuring Tape' is very convenient tool.