▲ 3 r/computervision
Turning a single image into a web-ready interactive 3D scene with ML-SHARP
I’ve been experimenting with Apple’s ML-SHARP model and built a small open-source project around it called Spatial Photos.
ML-SHARP estimates a 3D Gaussian splat from a single RGB image. I then take that reconstruction and convert it into a much smaller and simpler representation representation. It uses layered textured meshes stored in a custom file format I called .spatial. It still allows the the same sort of limited viewport shifting intended by ML-SHARP without compromising quality.
That lets the result stay relatively small and render interactively in a normal web browser, as you can see in the GIF.
Demo: https://www.spatialphotos.dev/
u/frozeindev — 9 days ago