Closed pbermell closed 4 years ago
You are right, we made a change to zivid-python API. This will be fixed shortly.
For your code to work, you need to modify it to:
point_cloud = frame.get_point_cloud().to_array()
Sorry about that.
We've implemented the required changes on the master branch. I will close this issue.
thanks Satja, I am also having issues to save data as ply or pcd via python. Do those changes affect the ability to export ply or pcd? thanks
The changes should not affect it. Can you provide the error message you get?
I assume you are talking about:
For .pcd you should check out c++ samples at: https://github.com/zivid/cpp-extra-samples/tree/master/ZividPCL
Please make another issue or email us at customersuccess@zivid.com as this is not related to this issue.
The changes should not affect it. Can you provide the error message you get?
I assume you are talking about:
- capture_save_ply.py (you can change the file name internally to .pcd)
- convert_zdf (this works only with .ply)
For .pcd you should check out c++ samples at: https://github.com/zivid/cpp-extra-samples/tree/master/ZividPCL
Please make another issue or email us at customersuccess@zivid.com as this is not related to this issue.
Only get unordered point cloud
From the SDK, supported extensions are .zdf, .ply (ordered), .xyz and .pcd. You can save unordered .ply from Zivid Studio only.
This article could be useful: https://support.zivid.com/latest/reference-articles/point-cloud-structure-and-output-formats.html#zivid-output-formats
@pbermell, @BIG-DD, have I answered your questions? Also, please let me know if you have a specific feature request. In other words, is there a specific function that would be useful for you and is currently missing in the Zivid SDK?
Hello, I am wondering if there is a bug here. After running this code:
I get this error:
this seems to be what is instructed in: https://github.com/zivid/python-samples/blob/master/zdf_with_opencv.py
thanks