Q: How to convert pcd file buffer to numpy array Is there a way to convert bytes of a pcd file to numpy array? I have an error message saying
"ValueError: buffer size must be a multiple of element size", or get the wrong number of points from the file. Can numpy interpret pcd file?
What I want to do is count the number of points in the pcd file. I know I can read pcd file by using open3d library, but open3d.io.read_point_cloud function only support reading file from the local path. I have to load pcd file in memory and convert the buffer to an numpy array, reshape it, and count the specific area's point count by using open3d library.
