A 3D model generator for AR menus: a customer photographs a dish and a few minutes later places it on their own table in augmented reality — right in the browser, with no apps to install.
One photo in · a model and a QR code out · all on your own hardware
A 3D artist or photogrammetry for every dish — too slow and expensive for a menu that changes all the time.
Pay per generation, network latency, and dependence on someone else's API that may get pricier or shut down.
Product photos have to be uploaded to someone else's infrastructure — not everyone is comfortable with that.
The customer uploads a single photo, the system removes the background, generates a textured 3D model, embeds the real size and publishes the result. In return — a QR code and a link to view it in AR.
The BiRefNet neural network cuts out the dish and centers it.
secondsTRELLIS.2: structure → shape → texture.
the main stageThe dish's physical size is embedded into the model.
millisecondsRemeshing, simplification, baking of 2K PBR textures.
tens of secondsQR + preview, model upload to the website.
secondsThe finished files are published to the site's media library — the links and QR codes are permanent and keep working even when the generator is switched off.
Scan the QR code and a 3D model opens with an AR button. Put the pizza on the table at life size right through the phone camera.
All generation runs on a single device NVIDIA DGX Spark (GB10 Grace Blackwell chip) — the size of a small box, with unified CPU/GPU memory.
TRELLIS.2 (Microsoft) — flow-matching image-to-3D. The background is removed by BiRefNet.
FastAPI + queue Celery + Redis: photo intake, background generation, real-time status.
glTF/GLB, a component by <model-viewer> and WebXR — 3D and AR right in the browser.
Open standards · open-source application layer
The system is deployed at digitalegiz.kz: a customer uploads a photo through the generator page and gets a ready 3D model with a QR code and an AR button.
AR menu: the guest sees the dish and its size before ordering.
3D product cards from a single photo.
Exhibits and teaching models in augmented reality.
The architecture is the same — only the storefront and the meaning of “size” change.
One photo — and you have a 3D model with a QR code that can be seen in augmented reality right in the phone's browser.
Digital Egiz Lab · Al-Farabi KazNU · openegiz