I'm using pickle
to save rgb and depth frames received from kinect-v2 (libfreenect2), but it throws the following error:
Exception has occurred: TypeError can't pickle _cffi_backend.__CDataGCP objects File "/home/vision/Desktop/projects/python_projects/pytorch_Realtime_Multi-Person_Pose_Estimation/demo/record.py", line 36, in build_pcd pickle.dump([video_rgb, video_depth], f) File "/home/vision/Desktop/projects/python_projects/pytorch_Realtime_Multi-Person_Pose_Estimation/demo/record.py", line 52, in build_pcd(write_big_pcd=True)
How can I save these data from python?