isl-org / isl-org/Open3D

`read_point_cloud` from buffer (not filename string)

Open
#1,146 7 comments 11 reactions 1 assignee Claimed by @germanros1987 View on GitHub
feature request io
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

Point cloud files can be loaded using filename, e.g.:

`pcd = open3d.io.read_point_cloud("pointcloud.ply")`

Is there a way to load from a file that has already been read into a buffer? E.g. something like this:

```python
with open("pointcloud.ply", "b") as f:
buffer = f.read()
pcd = open3d.io.read_point_cloud(buffer, format="ply")
```

My use case is the ply files are read from a zip archive so I don't want to save individual ply files to disk so that open3d can load them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.