Case Studies | Retail

Seeing food waste before it costs money

Product Recognition System

About

A Retail business working with Cloud Combinator on AWS. The client is anonymised at their request.

Challenge

The challenge had three focus areas.

Recognising food reliably from a photo

Identifying a specific food item from an image, against a customer's own product list, is not trivial. The system had to return accurate, ranked predictions consistently enough that staff could trust and confirm them, forming a dependable record of what was being discarded.

Never double-counting the same waste

A running tally is only useful if it is accurate. The pipeline had to distinguish the latest discarded item and exclude products already logged in that day's session, so the same leftover was not counted twice, with a clean daily reset built into how the data was queried.

Keeping it fast in service and cheap at rest

Demand peaks during busy periods, so the system needed to be more accurate when it mattered without paying for heavy models around the clock. It also had to be automatic end to end, triggered by an upload rather than manual work, and stay within a tight budget.

Solution

The pipeline pairs two kinds of AWS AI. Amazon Bedrock provides a large multimodal model that reasons over an image alongside context, the item's weight, the customer's available products, and what has already been logged, to return the most likely matches in plain terms. Amazon Rekognition adds a custom vision model trained on the client's labelled food images for sharper recognition. A hybrid design uses both intelligently: during busy rush-hour periods, an image is first analysed by the custom Rekognition model and its output is fed into the Bedrock prompt for a final decision, while outside rush hours the image goes straight to Bedrock, which keeps quality high when it matters and cost low the rest of the time.

Top 5

Ranked food-item predictions returned per image, excluding items already logged

30,000

Images the pipeline is designed to process each month (projected)

~$1.2k

Projected monthly running cost at the design volume (projected)

By the numbers:

  • Top 5 - Ranked food-item predictions returned per image, excluding items already logged
  • 30,000 - Images the pipeline is designed to process each month (projected)
  • ~$1.2k - Projected monthly running cost at the design volume (projected)
Changes

The proof of concept demonstrated an end-to-end, automatic food-recognition pipeline: image in, ranked identification out, every event logged for audit, with the hybrid Rekognition-and-Bedrock design and automated model scheduling proving that accuracy and cost control could go together. It gives the client the evidence and the architecture to take the capability toward production. Figures below reflect the design assumptions set out in the scope of work.

  • Recognition that works two waysA custom Amazon Rekognition model and Amazon Bedrock combine during peak periods, with Bedrock alone outside them and an automatic fallback to Bedrock if the Rekognition model is unavailable.
  • No double-countingDynamoDB session grouping by customer and day, with predictions excluding already-confirmed items, keeps the waste tally accurate and resets cleanly each day.
  • Automatic, end to endAn upload to API Gateway triggers the whole flow through Lambda, with no manual intervention, and every image and inference recorded for audit.
  • Cost controlled by designEventBridge and Systems Manager run the custom vision model only during rush hours, and serverless, usage-based services keep the projected running cost low.
  • HandoverCloud Combinator delivered the pipeline as CloudFormation with demonstrations, documentation, and Loom walkthroughs, plus guidance on the steps to take the service to production.

With feasibility proven on AWS, the client has a clear, cost-aware foundation to build on, extending the recognition pipeline toward a production service that helps its food and beverage customers cut waste and cost.

AWS Stack

Amazon Bedrock

For multimodal reasoning that identifies food items from an image and context in plain language.

Amazon Rekognition

For a custom vision model trained on the client's labelled food images for sharper recognition.

AWS Lambda

And Amazon API Gateway for a fully serverless, event-driven image-analysis pipeline.

Amazon S3

For image storage and audit, with Amazon DynamoDB for session-based tracking of results.

Amazon EventBridge

And AWS Systems Manager for scheduling the custom model, with Amazon CloudWatch for monitoring and AWS CloudFormation for deployment.

YOU MIGHT LIKE

Related success stories

View all case studies

Case Studies | Insights

Utilising Language Recognition, Speed, and Enhanced Security to Make Social Media a Force for Good

  • Here, we take a detailed look at how the Cloud Combinator team collaborated with another cutting-edge AI service provider that provides intelligent systems to “make social media more social” for brands and users alike.
  • Arwen AI is a UK-based startup specialising in AI solutions to manage and enhance brands’ social media interactions. Founded in 2020 by Matt McGrory, Dr. David Cole, and Joel Bailey, Arwen. AI focuses on using AI to automatically detect and remove spam, toxic comments, and other unwanted content from social media platforms.
  • The team at Arwen have three core products. ‘Moderate’ is focused on identifying and removing toxic content from social media channels. ‘Engage’ helps brands identify and engage with meaningful conversations on social media, and ‘Customize’ allows brands to apply bespoke algorithms to their channels - creating an even more effective moderation and engagement.
Read more
CONTACT US

Ready to turn AI into impact?

We'll help you spot the highest-value opportunities, reduce risk around your first AI initiative, and define a clear path to results from day one.

Why talk to us:

Outcome-driven recommendations

AWS-recognised delivery expertise

Risk-aware AI adoption

Clear next step, not a sales pitch

Start with a focused 20-minute conversation about your goals — no pressure, no commitment.

This website uses cookies to enhance user experience and to analyze performance and traffic on our website.

See our Privacy Policy for details.