Turning a Restaurant Menu Photo into Structured JSON with a Vision Model: Schema, Prompt and the Pitfalls
Short answer: skip classic OCR and send the photo directly to a vision-capable LLM with a strict JSON schema (sections → dishes → name, original-script name, price, description). Fix image orientation and size before sending, tell the model to copy only what's visible, validate the output with Pyda…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-01 18:23 · DEV Community — AI
Turning a Restaurant Menu Photo into Structured JSON with a Vision Model: Schema, Prompt and the Pitfalls