Skip to content
Camilo Giraldo

2023–2026

02A tool for correcting AI predictions and measuring accuracy

85,000 images validated in three years

Product designer at Neurolabs

  • Data-heavy UI
  • Workflow design
  • Designing for ML
  • Coded prototyping
The second version: relabel what’s wrong, validate, and move on to the next image

The problem

We’re an image recognition service that helps consumer packaged goods brands see how their products are doing on supermarket shelves. Our model finds each product on a shelf photo, then compares it with the products in our catalogue to work out which one it is. Each product has reference images, crops of that product from real shelves, and the more good ones it has, the better the model recognises it.

When I moved from 3D into product design in 2023, as our first and only designer, the web app had been built by engineers, mostly for themselves. It could show a shelf photo with its bounding boxes, but you couldn’t do anything with what you saw. To improve a product, someone from our team took screenshots of it and added them to the catalogue by hand, and some clients had written their own scripts against our API just to send us crops.

Clients had also started asking what our accuracy was, and nobody had the tools or the time to check the model on real images.

I redesigned the tool twice. Over three years, more than 85,000 images have been validated in it, and the company hired a team just to run validations.

Correcting an image is how the model learns

The ML engineers explained why the screenshots mattered. Say we predict 10 products on a shelf correctly and get 5 wrong. If those 5 are already in our catalogue, adding their crops gives the model new information to recognise them next time.

So a correction could do two jobs at once. It tells us where the model was wrong, which gives us an accuracy figure, and it gives the model the crop it needs to get it right next time.

The first version: from viewer to correction loop

I designed a tool where you could go through each prediction on a shelf photo and fix it: relabel it, mark it as unknown, remove it, or draw a box around a product the model missed. An Improve Accuracy page then turned the corrected crops into reference images. It shipped between December 2023 and February 2024.

The 2023 correction tool on a drinks chiller: a bottle predicted as Sprite is open, with the model’s other likely matches, Oasis Summer Fruits and Volvic Strawberry, a search, and Delete and Set as unknown buttons
Opening a prediction in the first version: pick the right match, search, delete it or set it as unknown

It worked really well. In less than 5 minutes we could correct a whole image and add the fixed crops to the catalogue with one button. It was our first loop of improving the catalogue and measuring accuracy. Measuring accuracy turned out to be much harder than I thought (more on that at the end), but at least we had something!

2022: the viewer

  1. Look at the boxes
  2. Spot a wrong one
  3. Screenshot it and crop the product
  4. Find the product in the catalogue
  5. Upload the crop

By hand, outside our product

No accuracy figure, and some clients wrote their own scripts to send us crops.

2023: the correction tool

  1. Open an image
  2. Fix what’s wrongrelabel, set as unknown, delete or add a box
  3. Saveeverything else counts as correct
  4. Accuracy is scored
  5. Crops added to the productsin one click

The model learns from them, and the next image starts

Fixing a wrong prediction, before and after

Saving means everything is correct

Before release, the engineers and I had a lot of discussions about the right interaction. The obvious default was to make reviewers confirm every bounding box. We made a different call: clicking Save means everything in the image is now correct.

Our image recognition is almost always above 80% accurate, and often above 90%, so errors are the exception. Confirming every box would mean spending most of the time on things that were already right. Instead, reviewers hover over the products to see what each one is matched to, fix what’s wrong, and save. We kept it in the second version.

The risk is someone approving an image without really looking, which puts more responsibility on the validation team. So far human error hasn’t been a big problem.

When products weren’t the only thing on the shelf

The tool stayed mostly the same for about two years, while we used it more and more. Around mid 2025 the cracks started to show. Our ML team could now detect prices, quantities, posters and almost anything else on a shelf, but the tool was built only for products. We were forcing a square peg into a round hole.

Every new capability meant the front end engineer changing code, and the visualisation was never quite right. It was slow and error prone, and we couldn’t validate these new data types the same way. So I proposed a second version.

The 2023 correction tool on a drinks chiller: the catalogue list shows Prices, 43 detected, as a card with a picture of a price tag, above Unknown promos, 1 detected, and the shelf has a small white box on every price tag
  1. All 43 prices sat in the catalogue as one item, like a product with a picture of a price tag.
  2. Selecting it highlighted them on the shelf, but you couldn’t see what a price said, or correct one.
  3. Promotions were squeezed in the same way.
Prices and promotions in a tool built for products

Designing with real data, not an ideal shelf

When I designed the first version, I had an ideal shelf in mind. Only after release, seeing how different every shelf was, did I actually understand the data. I didn’t want to make that mistake twice.

What I took from annotation tools. Many are built for data from all kinds of industries, so they’re good at moving between data types, and they’re built around the keyboard. I took both. What I left out was their huge number of tools: the first version had already taught me what our team actually used, and it was a narrow set.

My discovery board, from the problem to the first mocks

A prototype on real data. Figma mocks couldn’t show what our data is really like: variable, and in huge amounts. So I used Claude Code to build a quick validation tool from my mockups, in a small repository outside our codebase, connected to our real APIs. Internal users, contractors and some clients used it on real data as if it were the real thing, and I improved the designs as I went.

At handoff, our front end engineer got the tool, the designs and the code, so they built it faster, and closer to my designs, than from mocks alone. My prototype’s API calls weren’t built to scale, but they showed the backend engineers the use case behind each one, and we worked through query cost, indexing and pagination together.

Low fidelity mock: one prediction on the left, and on the right its price, quantity, face count and is beer, each with Correct, Incorrect and Unable to determine buttons

An early idea: one prediction at a time, with every field marked correct or incorrect.

How the design changed once I saw the real data

One view for any kind of prediction

Our ML team and the company decided that every prediction comes in the same generic format. It lets the ML engineers test new things and get them to clients fast: products today, prices tomorrow, the colour of a product the day after, with no new code in the tool.

That openness was also my constraint. I couldn’t design specific interactions for specific kinds of data, like text, numbers or a simple yes or no, so the validation view had to be as open as possible. It’s the right call while speed is the priority, but our validation team pays for it with a less than ideal experience. With a tighter schema, the UI could adapt to whatever is being validated. That’s where I’d take it next.

The second version on the same drinks chiller: the list shows Price, 43, with the values read from each tag, one price tag is selected on the shelf, and the side panel shows its crop with price, quantity, promo price and promo text
  1. Every price is a prediction of its own, listed with the values the model read.
  2. On the shelf, you select a price like any product.
  3. The panel shows whatever fields the model sends, here price, quantity, promo price and promo text.
The same shelf in the second version

85,000 images validated in three years

Validation is now part of how we work with clients. The validation team runs validations every two weeks or every month, and the accuracy figures go to clients regularly as evidence of how the model performs.

The first version could only show and validate products. With the second version, any new kind of prediction shows up in the validation view as soon as the model sends it. So far that’s 14 kinds, and none of them needed a change to the UI:

Products

  • Single
  • Single (backbar)
  • Multipack
  • In case
  • Beer taps

Signage

  • Price tags
  • On-shelf promo material
  • Posters
  • Shelf strips

The shelf itself

  • Shelf rows and fixtures
  • Realogram and gaps

Measurements

  • Facing count for multipacks
  • Pricing (price, promo and poster reading)
  • Matching prices and promos to products

The part that didn’t land

Talking to the team, I learned they mostly validated groups of 50 to 100 images from a set time frame, which the old tool’s filtering and sorting didn’t support well. So I designed a new way in. The team lead creates a validation, sets the number of images and the time frame, assigns it to a contractor, and tracks it from there.

I thought this would become the main way people used the tool. It hasn’t. The team kept choosing images the old way, through results, while using the new validation view. My guess, from a few conversations, is that the new workflow lacked features they relied on, and we didn’t invest the time to move their process over. So they used half of it.

What I learned

Change things in smaller pieces. If we’d improved things in smaller chunks, instead of a whole new workflow without all the features people already had, we’d have risked less and adapted more to how the tool was actually used. Why the team stayed with the old way in is the first research question for the next round.

Accuracy isn’t one number. I thought it was easy: count the boxes that were right and divide by all of them. Well, no. Our pipeline has two steps. The localiser draws the boxes, the labeller says which product is in each, and each step has its own accuracy. I was lumping both into the same workflow. Some competitors only count how many products were detected, not where they are. There’s a lot of subjectivity in accuracy that I had no idea about, and I oversimplified it until clients and engineers tried to use the data.

Tools

  • Figma
  • Claude Code
  • v0
  • Mobbin
  • Ant Design