HUB
Sign inSign up
digital-twin logo

freshnfunky/digital-twin

By freshnfunky

•Updated 11 days ago

Interactive 3D LiDAR digital twin of a driving scene — runs offline, no cloud or GPU.

Image
Machine learning & AI
Data science
0

102

freshnfunky/digital-twin repository overview

⁠Digital Twin LiDAR Viewer

An interactive 3D digital twin of a real driving scene, reconstructed from LiDAR. Pull it, run it, open your browser. No cloud, no GPU, no dataset download.

šŸŽ„ Watch the digital twin in action on YouTube →⁠


⁠Quick start

docker run --rm -p 5099:5099 freshnfunky/digital-twin:latest

Open http://localhost:5099⁠. That's it — the image ships pre-built scenes and runs fully offline. Or with Compose:

docker compose up

⁠What you're looking at

A density-adaptive voxel reconstruction of a nuScenes driving scene, accumulated over 20 LiDAR frames, with:

  • Static world rebuilt as an octree voxel surface (fine where points are dense).
  • Moving objects (pedestrians, vehicles) overlaid per frame.
  • Closed proof-mesh surface overlay as visual ground truth.
  • Camera frustums + field-of-view coloring from the 6-camera rig.
  • Toggles for surface / fill / movers / density / raw points / FOV, a frame player, and a free-orbit or ego-mounted camera.

Drag to orbit, scroll to zoom, step through frames.

⁠Runs offline out of the box

Scenes 0–2 are fully baked into the image (voxels, movers, surface overlay, camera geometry). The raw camera backdrop images are not included (nuScenes license + size), so the projector "show image" option stays blank in the offline image.

⁠Bring your own data — unlock everything

If you've downloaded nuScenes yourself (register and accept the terms at https://www.nuscenes.org⁠), mount it to build any scene on demand and show the camera backdrop:

docker run --rm -p 5099:5099 \
  -v /path/to/nuScenes:/app/data/nuScenes \
  freshnfunky/digital-twin:latest

Expects the nuScenes v1.0-mini layout (samples/, sweeps/, maps/, v1.0-mini/). First build of an uncached scene takes a few minutes, then it's cached.

⁠Watch it in action

More on the digital twin, the reconstruction method, and the research behind it on YouTube — @felix-schaller-com⁠:

⁠Configuration

Env varDefaultPurpose
PORT5099Server port.
HOST0.0.0.0Bind address inside the container.

⁠Tags

TagNotes
latestCurrent offline demo build.
0.1.0First published release.

⁠License & attribution

For non-commercial research and demonstration use. The baked scene caches are derived from nuScenes (CC BY-NC-SA 4.0); see the NOTICE file in the image. No raw dataset or credentials are redistributed.

H. Caesar et al., nuScenes: A multimodal dataset for autonomous driving, CVPR 2020 — https://www.nuscenes.org⁠

Built by Felix Schaller⁠.

Tag summary

Content type

Image

Digest

sha256:5769edfea…

Size

292.2 MB

Last updated

11 days ago

docker pull freshnfunky/digital-twin