license: apache-2.0
HoHo2025 Tools
Tools and utilities for the S23DR-2025 competition and HoHo25k Dataset
Installation
pip install hoho2025
pip install over http
pip install git+http://hf.co/usm3d/tools2025.git
or editable
git clone http://hf.co/usm3d/tools2025
cd tools2025
pip install -e .
Usage example 2026
See in notebook
from datasets import load_dataset
from hoho2025.vis import plot_all_modalities
from hoho2025.viz3d import *
def read_colmap_rec(colmap_data):
import pycolmap
import tempfile,zipfile
import io
with tempfile.TemporaryDirectory() as tmpdir:
with zipfile.ZipFile(io.BytesIO(colmap_data), "r") as zf:
zf.extractall(tmpdir) # unpacks cameras.txt, images.txt, etc. to tmpdir
# Now parse with pycolmap
rec = pycolmap.Reconstruction(tmpdir)
return rec
ds = load_dataset("usm3d/hoho22k_2026_trainval", streaming=True, trust_remote_code=True)
for a in ds['train']:
break
fig, ax = plot_all_modalities(a)
## Now 3d
fig3d = init_figure()
plot_reconstruction(fig3d, read_colmap_rec(a['colmap']))
plot_wireframe(fig3d, a['wf_vertices'], a['wf_edges'], a['wf_classifications'])
plot_bpo_cameras_from_entry(fig3d, a)
fig3d
Example wireframe estimation
Look in hoho2025/example_solution.py
from hoho2025.example_solutions import predict_wireframe
pred_vertices, pred_connections = predict_wireframe(a)
fig3d = init_figure()
plot_reconstruction(fig3d, read_colmap_rec(a['colmap']))
plot_wireframe(fig3d, pred_vertices, pred_connections, color='rgb(0, 0, 255)')
fig3d
And to get the metric
from hoho2025.metric_helper import hss
score = hss(pred_vertices, pred_connections, a['wf_vertices'], a['wf_edges'], vert_thresh=0.5, edge_thresh=0.5)
print (score)
Usage example 2025
See in notebooks
Metadata
Release files for hoho2025 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hoho2025-0.2.2.tar.gz | 36.3 kB | Without provenance | Details for hoho2025-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hoho2025-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for hoho2025-0.2.2-py3-none-any.whl |
Total release size: 74.0 kB
Release files / hoho2025-0.2.2.tar.gz
| Download URL | hoho2025-0.2.2.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b95419cafab35c9d7c6a8396d00c46764e30791b29b54eceb3de7f582ba141d
|
|
BLAKE2b-256 checksum How to use checksums |
528f6e8d3f89c79e08c533c71839d2bdb49b5bf60f0973b07cc14b955199cb07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.15
|
Release files / hoho2025-0.2.2-py3-none-any.whl
| Download URL | hoho2025-0.2.2-py3-none-any.whl |
|---|---|
| Size | 37.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53728df8ffd6620648962d992e4fb990a8a961aef4a08d80984fc3286e4d7739
|
|
BLAKE2b-256 checksum How to use checksums |
b0994def015583470e1c62562be9f4d757a8f04a1b3050bb74790649ea780239
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.15
|
Security for hoho2025 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.