Novita

Computer vision in the canteen: recognising the dishes on a tray from a photo

R&D SyncodeOctober 29, 20262 min read

At a canteen till the routine is always the same: look at the tray, recognise what is on it, ring up the right items. It is a repetitive task, done in a hurry and at peak times. Over the past few months our research team has been working on a specific question: can a photo of the tray be enough to recognise every item and its price band?

Not just ‘what is there’, but ‘how much it costs’

Recognising a dish is only half the problem. The system has to identify every item on the tray (dishes, bread, fruit) and assign it to one of the price categories used by the till: first course, main course, small, medium or large side dish, bread, fruit. And this is where computer vision meets reality: the difference between a small and a medium side dish is not the type of dish, but the portion.

Data before models

The most useful lesson was also the simplest: a model is only as good as the data it learns from. That is why we worked on photos of real trays, not synthetic images, and chose the receipt as our ground truth: that is where it says what was actually charged.

  • A small smartphone app collects sessions of tray photos followed by a photo of the receipt, and syncs them automatically when the phone is on the local network.
  • Automatically proposed labels are reconciled with the receipt and then reviewed by a person, who always has the final say.
  • Different detectors are compared against the same yardstick: does the final bill for the tray add up or not?

What we are taking away

Working with high-resolution images, measuring results on the bill and not just on individual detections, keeping a person in the review loop: these are principles that apply well beyond the canteen. The same methods work for visual quality control in production, for counting parts, for checking packaging, or for any process where today someone ‘looks and decides’.

Computer vision and applied AI are part of the bespoke applications that Syncode develops: we start from the problem and the real data, not from the technology. Do you have a process that relies on someone's eyes? Let's talk.

Condividi