Closed JimXu1989 closed 3 years ago
Hi @JimXu1989 As you quote "We'll use the colorizer to generate texture for our PLY", it sounds as though you are referring to the SDK Python example program export_ply_example.
Historically, there have been difficulties in past cases with exporting color to a ply using Python.
The case below has Python scripting shared by a RealSense user whose code exported color to a ply, though without vertex normals. If lack of normals is not a problem for you then the script may be helpful if it works for you. It uses the export_to_ply export method instead of save_to_ply.
https://github.com/IntelRealSense/librealsense/issues/6194#issuecomment-608371293
Hi @JimXu1989 As you quote "We'll use the colorizer to generate texture for our PLY", it sounds as though you are referring to the SDK Python example program export_ply_example.
Historically, there have been difficulties in past cases with exporting color to a ply using Python.
The case below has Python scripting shared by a RealSense user whose code exported color to a ply, though without vertex normals. If lack of normals is not a problem for you then the script may be helpful if it works for you. It uses the export_to_ply export method instead of save_to_ply.
Thanks a lot for your reply
Hi @JimXu1989 Do you require further assistance with this case, please? Thanks!
Case closed due to no further comments received.
Issue Description
How to get textured point cloud? Texture form color image. the comment says: We'll use the colorizer to generate texture for our PLY (alternatively, texture can be obtained from color or infrared stream)
colorizer = rs.colorizer()
try:
Wait for the next set of frames from the camera