ARkit measure

I want to take a photo with the camera to get the distance of an object from the camera. What should I do? Thank you
ARkit measure
 
 
Q