How can I change the options to save .ply by SDK python example
Hi, I'm working on a test with below realsense python wrapper example.
But I couldn't run it with follow error logs.
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-65-aadf85e79ca1> in <module> 38 # Set options to the desired values 39 # In this example we'll generate a textual PLY with normals (mesh is already created by default) ---> 40 ply.set_option(ply.option_ply_binary, False) 41 ply.set_option(ply.option_ply_normals, True) 42 TypeError: (): incompatible function arguments. The following argument types are supported: 1. () -> pyrealsense2.pyrealsense2.option Invoked with: <class 'pyrealsense2.pyrealsense2.save_to_ply'>
If I remove 2 lines 40th and 41th that for ply option, it works. How can I set the options like option_ply_binary, option_ply_normals and ply.option_ignore_color?
-
Others have been experiencing the exact same problem with this program. There is currently an open case about it on the RealSense GitHub forum at the link below. Adding a comment to that discussion will be the best way to receive advice about it. Good luck!
Please sign in to leave a comment.
Comments
3 comments