Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the point cloud of detected planes? #17

Open
LZleejean opened this issue Jul 29, 2019 · 1 comment
Open

How to get the point cloud of detected planes? #17

LZleejean opened this issue Jul 29, 2019 · 1 comment

Comments

@LZleejean
Copy link

Hi,

The code output masks and plane parameters when evaluate NYU dataset. If I want to get point cloud data (xyz+rgb) from a plane such as the ground, do I need to calculate the point cloud based on the predicted plane parameters and depth map? Is there such a function or similar function in the code you provide?

Thank you!

@art-programmer
Copy link
Contributor

If you want to write the point cloud to PLY files, you can check the code here,

if write_ply:

Or if you only want to get the XYZ coordinates, you might want to use this function,

def calcXYZModule(config, camera, detections, masks, depth_np, return_individual=False, debug_type=0):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants