Home > OS >  Convert .ply to .png (.jpeg) with Python
Convert .ply to .png (.jpeg) with Python

Time:07-27

did you know how to convert point clouds file to an image format using python?

Thank you very much

CodePudding user response:

Have you heard of this? https://github.com/phistrom/mesh2img This should be able to convert the polygons to PNG

CodePudding user response:

It looks like Open3D supports this; from the docs (I don't have it installed myself) It looks like you could do:

img=open3d.io.read_point_cloud("filename.ply")
open3d.io.write_image("filename.png",img)

It supports both ply as input and png as output.

  • Related