Measuring Distance from the Floor in Expo/React Native

I’m currently working on a project in Expo/React Native and need to create a control that will indicate whether the distance from the floor is appropriate—it can’t be too large or too small. Does anyone know how to measure the distance from the floor within these frameworks? Any pointers or tips would be greatly appreciated!

Hi @it_s_me, I think you can achieve the task of measuring distance between the objects using Tensorflow object detection. please refer to this document which contains the explanation of similar use case like yours. Thank You.