HDF5 to PLY Gaussian Splat Convertor
This project provides functions to convert gaussian splats stored in HDF5 format to PLY format.
Installation
You can install the required dependencies using pip:
pip install h5_to_ply
Usage
h5file_path = "/path/to/model.h5"
plyfile_path = "/path/to/model.ply"
in_buffer: BytesIO = BytesIO()
out_buffer: BytesIO = BytesIO()
with open(h5file_path, "rb") as f:
in_buffer = BytesIO(f.read())
with open(plyfile_path, "wb") as f:
convert_h5_to_ply(in_buffer, out_buffer)
out_buffer.seek(0)
f.write(out_buffer.getbuffer())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
h5_to_ply-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file h5_to_ply-0.1.0.tar.gz.
File metadata
- Download URL: h5_to_ply-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514cb82f4a4d31163bdd66e9bc901abf479b7164224631f7f13c40a0395765d9
|
|
| MD5 |
1f54c95751a9838d4fc19db9567ffc33
|
|
| BLAKE2b-256 |
21c2b501a86d13e3c0eefae3fd614879493abedf8c84a545496d9ccd58e2d4ae
|
File details
Details for the file h5_to_ply-0.1.0-py3-none-any.whl.
File metadata
- Download URL: h5_to_ply-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62df13514785109d34bc741151aee4330b0107761427b9f49b2ae3a90a129437
|
|
| MD5 |
664f400417645390b6bd70c3ca351d7e
|
|
| BLAKE2b-256 |
8c77f99b2ee9861ac23442818686ebd7b5321cd0803118c95fe1c881037dd1ed
|