The DailyToken

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

  1. 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

More stories

  1. NSA and major tech firms urge rapid transition to post-quantum cryptography — Anthropic (X)
  2. Google launches Gemini 4 Live and Gemini 4 Live Translate real-time audio models — Google AI Blog
  3. Ai2 releases MolmoWeb 2, open visual web agents trained with reinforcement learning — Allen Institute for AI (Ai2)
  4. Ai2 releases DR Tulu 2, an open 4B deep research agent trained in simulated search environments — Allen Institute for AI (Ai2)
  5. OpenAI reverses plan to cut off SpaceX-owned Grok Build, restoring model access — Techmeme
  6. Jeff Dean's Discovery Loop raises $1.2B seed round to automate scientific research — Bloomberg AI
  7. OpenAI expands ChatGPT Dots assistant to Plus users worldwide, including Europe — OpenAI News
  8. AWS unveils open-weight 1.1T-parameter MoE model Amazon Ergo at re:Invent 2026 — Anthropic (X)

Read the Daily Brief: the day's most important AI stories →