Skip to content

Commit 4a25b74

Browse files
Merge pull request #35 from OlafenwaMoses/moses/pypi-publish-filters-and-details
publish filters and pypi/repo docs
2 parents 0b93aee + cee879a commit 4a25b74

2 files changed

Lines changed: 81 additions & 1 deletion

File tree

README.md

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,78 @@
11
# vizion3D
2-
3D Capability and Intelligence for the real world.
2+
3+
**vizion3d** is an open-source Python library for 3D computer vision — a single unified interface for depth estimation, point cloud generation, 3D object annotation, and more.
4+
5+
📖 **[Full documentation →](https://olafenwamoses.github.io/vizion3D/)**
6+
7+
---
8+
9+
![input image](https://olafenwamoses.github.io/vizion3D/assets/images/roomhd.jpg)
10+
11+
![depth map](https://olafenwamoses.github.io/vizion3D/assets/images/roomhd_depth.png)
12+
13+
---
14+
15+
## Installation
16+
17+
Requires **Python 3.12** (Open3D constraint).
18+
19+
```bash
20+
pip install "vizion3d[cpu]"
21+
```
22+
23+
For NVIDIA CUDA, AMD ROCm, or Apple Silicon MPS, see the [Hardware Acceleration](https://olafenwamoses.github.io/vizion3D/hardware_acceleration/) page.
24+
25+
---
26+
27+
## Quick start — depth estimation
28+
29+
```python
30+
import open3d as o3d
31+
from vizion3d.lifting import DepthEstimation, DepthEstimationCommand
32+
33+
result = DepthEstimation().run(
34+
DepthEstimationCommand(
35+
image_input="roomhd.jpg",
36+
return_depth_image=True,
37+
return_point_cloud=True,
38+
)
39+
)
40+
41+
print(f"Depth range : {result.min_depth:.4f}{result.max_depth:.4f}")
42+
print(f"Points : {len(result.point_cloud.points)}")
43+
print(f"Scale : {result.point_cloud_scale} metre per unit")
44+
45+
o3d.io.write_point_cloud("roomhd_result.ply", result.point_cloud)
46+
```
47+
48+
---
49+
50+
## Quick start — 3D object annotation
51+
52+
```python
53+
import open3d as o3d
54+
from vizion3d.annotation import ObjectMaskAnnotation3D, ObjectMaskAnnotation3DCommand
55+
56+
pcd = o3d.io.read_point_cloud("roomhd_result.ply")
57+
58+
result = ObjectMaskAnnotation3D().run(
59+
ObjectMaskAnnotation3DCommand(
60+
point_cloud=pcd,
61+
image_input="roomhd.jpg",
62+
return_annotated_cloud=True,
63+
)
64+
)
65+
66+
for ann in result.annotations:
67+
print(f"{ann.label:20s} conf={ann.confidence:.2f} 3D points={len(ann.point_indices)}")
68+
69+
o3d.io.write_point_cloud("annotated.ply", result.annotated_cloud)
70+
```
71+
72+
---
73+
74+
## Documentation
75+
76+
Full reference, REST/gRPC guides, hardware setup, and task catalogue:
77+
78+
**[https://olafenwamoses.github.io/vizion3D/](https://olafenwamoses.github.io/vizion3D/)**

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ include = [
128128
"README.md",
129129
"pyproject.toml",
130130
]
131+
exclude = [
132+
"docs/assets/pointclouds/",
133+
"docs/assets/images/",
134+
]
131135

132136
# ---------------------------------------------------------------------------
133137
# Pytest

0 commit comments

Comments
 (0)