Frameset have no get_point_cloud.
https://github.com/orbbec/pyorbbecsdk/blob/main/examples/save_pointcloud_to_disk_by_filter.py
Running just this file alone. I encountered that frameset have not get_point_cloud. After print(dir(frame) i realised it is not inside at all.
['class', 'delattr', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'getitem', 'getstate', 'gt', 'hash', 'init', 'init_subclass', 'le', 'len', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'as_accel_frame', 'as_color_frame', 'as_depth_frame', 'as_frame_set', 'as_gyro_frame', 'as_ir_frame', 'as_points_frame', 'as_video_frame', 'get_color_frame', 'get_count', 'get_data', 'get_data_pointer', 'get_data_size', 'get_depth_frame', 'get_device', 'get_format', 'get_frame', 'get_frame_by_index', 'get_frame_by_type', 'get_frame_count', 'get_global_timestamp_us', 'get_index', 'get_ir_frame', 'get_metadata_value', 'get_points_frame', 'get_sensor', 'get_stream_profile', 'get_system_timestamp', 'get_system_timestamp_us', 'get_timestamp', 'get_timestamp_us', 'get_type', 'has_metadata']
Please help on this
@SudoIndividual Hi,
Thanks for reporting this issue.
The reason you are seeing that frameset does not have the get_point_cloud method is that the API has changed in the latest versions of pyorbbecsdk.
Could you please let us know which version of pyorbbecsdk you are using? This will help us provide more accurate guidance.
Thanks!
This sample in the v1.x.x series supports the Gemini 330 series(https://github.com/orbbec/pyorbbecsdk/blob/main/examples/README.md).What is the device you are using?