I’ve been trying to figure out how Apple’s Measure app and other similar apps work and I’ve come up with a theory. My theory is it combines focal length data from the camera with computer vision for surface detection plus uses the accelerometer to offset estimated values.