Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

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

RTang10
Novice
1,134 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?

 

 

 

1 Solution
Eliza_D_Intel
Employee
688 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
689 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
688 Views
Hello RTang10, We would like to know if you require further assistance on this topic. Thank you, Eliza
0 Kudos
RTang10
Novice
688 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