Skip to content

Commit f8b942a

Browse files
Implemented basic pointcloud and camera pose visualization
commit-id:c4886df5
1 parent f536085 commit f8b942a

File tree

3 files changed

+574
-1
lines changed

3 files changed

+574
-1
lines changed

packages/child-lab-visualization/pyproject.toml

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@ authors = [
77
{ name = "Jan Smółka", email = "[email protected]" }
88
]
99
requires-python = ">=3.12.7"
10-
dependencies = []
10+
dependencies = [
11+
"jaxtyping>=0.2.38",
12+
"numpy>=1.26.4",
13+
"torch>=2.6.0",
14+
"viser>=0.2.23",
15+
"depth-pro>=0.1.0",
16+
]
17+
18+
[tool.uv.sources]
19+
depth-pro = { git = "https://github.com/child-lab-uj/depth-pro.git" }
1120

1221
[build-system]
1322
requires = ["hatchling"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import viser
2+
3+
4+
def draw_point_cloud(server: viser.ViserServer) -> None: ...
5+
6+
7+
def main() -> None:
8+
server = viser.ViserServer()
9+
draw_point_cloud(server)
10+
11+
12+
if __name__ == '__main__':
13+
main()

0 commit comments

Comments
 (0)