Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.
AI & ML

Shelf Gap and Planogram Check from Phone Photos for FMCG Distributors

A final year project that lets FMCG sales reps photograph a shop shelf and get back empty facings, share of shelf for their brand and planogram mismatches within seconds. You combine a dense product detector, few-shot SKU recognition from reference images and shelf row reconstruction, and measure accuracy in real shops.

Difficulty

Advanced

Needs a team, real planning, and a supervisor who knows the area.
Effort

2 semesters · 3 to 4 students

Deliverables

6 to ship

3 optional extras

Suggested stack

PythonPyTorchUltralytics YOLODINOv2 or CLIP embeddingsFAISSFastAPIFlutter
A suggestion, not a requirement. Swap anything for what you already know.

What you should ship

  • A dense product detector trained on the public SKU-110K dataset and fine-tuned on at least 300 of your own shelf photos from local shops.
  • Few-shot SKU recognition: a reference gallery of at least 60 products from 2 or 3 brands, matched by image embeddings, with an "unknown product" class.
  • Shelf row and facing reconstruction that groups detections into rows and orders them left to right, and detects gaps where products are missing.
  • A planogram checker that compares the reconstructed shelf with an expected layout and lists missing, misplaced and extra products.
  • A phone app for reps: capture, quality check (blur, angle, glare), upload, and a result screen with overlays and a share-of-shelf figure.
  • An evaluation report on a held-out set of real shop photos with per-SKU recognition accuracy, gap detection precision and recall, and end-to-end time per photo.

If you have time left

  • Stitch several photos of a long shelf into one panorama before analysis.
  • Read shelf price labels with OCR and flag price mismatches.
  • Add a new SKU to the gallery from five phone photos and measure how quickly recognition reaches acceptable accuracy.

The problem distributors have with shelves they cannot see

FMCG brands and their distributors pay for shelf space and visibility in thousands of small shops, and they rarely know what the shelf actually looks like. Sales reps visit each shop, eyeball the shelf, and fill a form: is our product in stock, how many facings, is the competitor taking our space? The data is slow, inconsistent and easy to fake. Empty facings mean lost sales that nobody notices until the monthly numbers arrive.

Large retailers in rich markets use shelf cameras and robots. Kiryana stores, pharmacies and small supermarkets will not install anything; the only camera available is the rep's phone.

What already exists and the gap

  • Trax provides image recognition for retail execution to large consumer goods companies; its researchers also published the SKU-110K dataset (11,743 densely packed shelf images with over 1.7 million annotated products, all labelled as a single class).
  • ParallelDots ShelfWatch analyses shelf photos for stock, placement and pricing compliance, with customised enterprise pricing.
  • Neurolabs uses synthetic data to recognise products without large manual labelling efforts.

The gap is an affordable tool for regional distributors and mid-sized brands, trained on the look of small South Asian shops, that can add new SKUs from a handful of photos rather than an expensive labelling project.

What you build

A pipeline in three stages plus a phone app. Detection finds every product on the shelf regardless of brand; SKU-110K is ideal for this because it is about dense, overlapping packages. Recognition crops each detection, computes an embedding with a pre-trained vision model, and matches it against a gallery of reference photos of your target SKUs, falling back to "unknown" below a similarity threshold. Shelf reconstruction groups boxes into rows, orders them, estimates the expected width of a facing, and marks gaps. A planogram file describes what should be on each row, and the checker lists differences.

The app guides the rep to take a usable photo (checks blur, tilt and glare before upload), sends it, and shows the result within seconds.

The technically interesting part

Recognising products you have barely seen. Supervised classification needs hundreds of labelled images per SKU and retraining for every new flavour. Embedding retrieval needs only a few reference images per product, which is how real deployments keep up with new packaging. Your key experiment: recognition accuracy as a function of reference images per SKU (1, 3, 5, 10), comparing at least two embedding models, and with and without fine-tuning the embedding on your shelf crops. Then show how often visually similar SKUs (the same brand in two sizes) are confused and what helps, such as adding the detected box's relative size as a feature. The second hard part is gap detection in rows with uneven lighting and angles, which you evaluate separately.

How to evaluate it

  • Detection mAP on SKU-110K test and on your local shelf set.
  • Top-1 SKU recognition accuracy versus reference images per SKU, per embedding model.
  • Gap detection precision and recall against manual annotations on at least 100 local shelf photos.
  • Share-of-shelf error compared with a manual count.
  • End-to-end time per photo from capture to result, and phone data use.
  • A field trial with at least two reps or students acting as reps across 20 shops, comparing tool results with a careful manual audit.

Suggested plan

  1. Month 1: SKU-110K detector baseline, shop permissions, photo collection.
  2. Month 2: local fine-tuning and labelling of a local shelf set.
  3. Month 3: reference gallery, embedding recognition experiments.
  4. Month 4: row reconstruction, gap detection and planogram checker.
  5. Month 5: phone app with capture quality checks.
  6. Month 6: field trial, error analysis, write-up.

Path to a product

The first customer is a regional distributor or a mid-sized food or personal care brand with a field sales team. Price per active rep per month, with a setup fee for building the SKU gallery. Scaling means more SKUs and categories, which the few-shot approach keeps cheap, and dashboards that aggregate shelf health across territories.

Scope warning

Do not try to recognise every product in the shop; only the target brands and their direct competitors. Do not build fixed cameras or robots. Do not collect shop photos without the shopkeeper's permission, and avoid capturing customers' faces.

Learn what you need on Sefism

Get help with this idea

This is a large project, so the scope boundaries and the evaluation set matter a lot. A mentor can help you choose the target SKUs and plan the field trial. Bring your draft scope, the dataset you plan to use and your evaluation table, and we can look at them together. The build is yours; the guidance is on scope, stack and how to measure it. If you are new here, create a free account first.

Ideas and guidance, not finished projects

These are project ideas and scoping guidance, published free for students to use as a starting point. I do not build, write, or sell final-year projects, and I do not complete coursework for anyone. Take an idea, make it yours, and build it.

Not sure this one fits you?

I help students pick an idea that matches their skills and their deadline, then scope it down until it is finishable. Guidance only, never done for you.

Discuss this idea
Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.