Items with no label
3335 Discussions

Hello, What is the best way to calculate the equation of the floor plane in a scene?

RTang10
Beginner
732 Views

So that I can measure the the distance normal to the plane to a point which would be height.

 

At the moment I am taking 3 points by clicking positions in the image and taking the world coordinates and calculating the equation of a plane.

 

 However this is very unreliable and inaccurate, is there something I am missing?

 

 

 

0 Kudos
1 Solution
Eliza_D_Intel
Employee
286 Views
Hello RTang10, Thank you for your interest in the Intel RealSense Technology. You can check out the opencv example DNN - https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/dnn This example will calculate approximate distance to an object using the depth data. Thank you and best regards, Eliza

View solution in original post

0 Kudos
3 Replies
Eliza_D_Intel
Employee
287 Views
Hello RTang10, Thank you for your interest in the Intel RealSense Technology. You can check out the opencv example DNN - https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/dnn This example will calculate approximate distance to an object using the depth data. Thank you and best regards, Eliza
0 Kudos
Eliza_D_Intel
Employee
286 Views
Hello RTang10, We would like to know if you require further assistance on this topic. Thank you, Eliza
0 Kudos
RTang10
Beginner
286 Views

Hello Eliza, thank you so much for your help,

 

The link provided was a little bit useful however I managed to find another solution to the problem by using the difference of y coordinates to get the height.

 

Ray

0 Kudos
Reply