Open3d: is there any way to visualize a PCD on jupyter

Created on 31 May 2018  路  8Comments  路  Source: intel-isl/Open3D

Thanks for your works.

It is so great and easy to use.

The visualization function draw_geometries is good to see the result.

However, I use a jupyter as an IDE tool.

Is there any way to see the result directly on the jupyter web-page using the draw_geometries.

Or could you recommend other ways?

Thanks again.

question

Most helpful comment

As a note, I found very interesting open source project https://github.com/daavoo/pyntcloud that visualizes geometry in Jupiter notebook using iframe. This is very close to what @adioshun asked.

All 8 comments

Hi, @adioshun ,

I could execute the cell in jupyter notebook, on using draw_geometries(). The geometric output is displayed at the prompted window. I don't think the embedded way is feasible, as it deals with the manipulation of the view in 3D.

As a note, I found very interesting open source project https://github.com/daavoo/pyntcloud that visualizes geometry in Jupiter notebook using iframe. This is very close to what @adioshun asked.

@syncle I aware the pyntcould. it's visualization function is so great. But, as I know, it support only PLY file. Does it support PCD file?

@amiltonwong I am looking for a way to display it on Jupyter webpage for result screen sharing with my friends. thanks anyway.

@adioshun I don't think so. I haven't tried, but doc says it supports various format. https://github.com/daavoo/pyntcloud/blob/master/docs/io.rst

@adioshun looking at https://pyntcloud.readthedocs.io/en/latest/io.html it states PCD is also supported. Else you could always use an alternative library to read PCD to a dataframe and visualize the dataframe using PyntCloud.

Still I think when Open3D states its very selective in dependencies, I wonder why it uses GUI over browser.

@themmes Thamk you for ur comment. I tried pyntcloud. However it doesnot work. Maybe i ca n change the pcd to np or dataframe and try again.

@adioshun, I've found the plotly library to offer simple and attractive interactive 3d visualizations within Jupyter Notebooks for point clouds, meshes, etc. Here are some [examples] (https://plot.ly/python/line-and-scatter/) from the plotly docs. Scroll to the bottom to see the use of plotly's scattergl to handle a 3d scatterplot with LOTS of points.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DKandrew picture DKandrew  路  3Comments

hzxie picture hzxie  路  4Comments

lordlycastle picture lordlycastle  路  3Comments

DKandrew picture DKandrew  路  4Comments

mutp picture mutp  路  4Comments