bring-shrubbery/ml-sharp-web
Web playground to create Gaussian Splats using Apple's SHARP model
What it solves
Turning a single image into a 3D Gaussian splat model normally requires heavy desktop software and GPUs. This project brings the whole pipeline into the browser: upload an image, generate the splat, preview it, and download a .ply file — no local Python or specialized hardware needed for the user (though the model itself is large).
How it works
The app is built with React and TypeScript, running in a modern browser. It uses Apple's SHARP model, exported to ONNX format, and runs inference through ONNX Runtime Web inside a web worker. The browser performs the postprocessing (converting NDC coordinates to metric gaussians), writes the PLY file, and previews the result using an in-page Gaussian splats viewer. The heavy model is served from the app's public/models/ folder, split into two files: an .onnx graph file and an .onnx.data weights file — both must be served together.
Who it's for
Developers and 3D enthusiasts who want a simple, web-based way to generate Gaussian splats from a single photo without installing complex local toolchains. It's also a reference for anyone interested in running SHARP in the browser. The project is experimental and best used with Chrome or Edge on a desktop machine with ample RAM and disk space (the model is about 2.4 GB).
Highlights
- Upload one image and generate Gaussian splats entirely in the browser.
- Preview the 3D result and download a
.plyfile ready for other tools. - Uses Apple's SHARP model via ONNX Runtime Web, with a beginner-friendly export script provided.
- Includes a static build option and troubleshooting guidance for common WASM and model-loading issues.
Related
- Project
- Project
- Project
- Project