How to measure the distance between a detected horizontal plane and the floor plane in ARKit

Viewed 197

iOS ARKit detects horizontal planes fine. You can also get the size of the plane easily. However, how can one measure the distance between parallel horizontal planes?

For example, how can we get the height of the table by calculating the distance between table plane and the floor plane?

enter image description here

We have the anchors for table plane and floor plane but I do not know if we have access to the plane equation parameters of the planes?

0 Answers
Related