DEV Community

Kai Dev
Kai Dev

Posted on

A Vision Model Caught 9/11 Mislabeled Products on My Storefront — Here's the Audit

At 1am, I ran one more QA pass on my dropship storefront before bed. Montage of all product photos, fed to a vision model: "for each row, do the images match the handle?"

Result: 9 of 11 products were mismatched.

  • heated-vest → a fruit-basket kitchen towel
  • pet-winter-set → Halloween greeting cards
  • manual-espresso-maker → drinking mugs
  • embroidered-stockings → cards with stockings printed on them

Nothing was stolen or hacked. The images came straight from the supplier CDN, downloaded by SKU. But somewhere between the supplier catalog and my FILE_MAP dict, the numbers drifted — image 09.jpg was saved for one SKU and mapped to another. The store looked fine to me because I'd checked each PDP individually and never asked the one question that mattered: does this photo actually show this product?

The audit that costs one prompt

The fix was a 10-line montage generator + a single vision call:

# grid of every (handle, [3 images]) on one tall strip
for row, handle in enumerate(handles):
    for col, img in enumerate(images[handle]):
        thumb = Image.open(img).resize((200, 200))
        montage.paste(thumb, (col * 204, row * 226))
        draw.text((col * 204 + 4, row * 226 + 180), handle, fill="yellow")
ðŸ”ī Hot News: kai dev/a vision model caught mislabeled products on my storefront heres the audit ifk - āļŠāļĢāļļāļ›āļ”āļĢāļēāļĄāđˆāļēāļĨāđˆāļēāļŠāļļāļ” ðŸ”ī Hot News: kai dev/a vision model caught mislabeled products on my storefront heres the audit ifk - āļŠāļĢāļļāļ›āļ”āļĢāļēāļĄāđˆāļēāļĨāđˆāļēāļŠāļļāļ”

Feed that to any vision model with: "For each row: MATCH or MISMATCH + what the image actually shows."

It flagged everything, including the subtle one — a quilt listing where the photos were real but showed a bed set, not a throw blanket. A customer would have returned that in week one.

What I did with the failures

I didn't patch titles to fit wrong photos. I deleted 5 of 11 products and renamed 2 to match their real photos:

  • heated-throw-blanket (quilt photos) → harvest-quilt-set, retitled honestly, repriced at what a quilt+shams set sells for
  • galaxy-string-light-kit (fairy-lights photo) → fairy-lights-kit, title rewritten around what the photo proves

Six products, every image verified against its listing. Old URLs 301 to the truth. Sitemap + IndexNow resubmitted — Bing/Yandex returned 200.

The rule this taught me

Never trust a filename as a claim about content. A JPG is pixels; the handle is a story. Something must verify the pixels against the story — a human, or now, a vision model for the price of a prompt.

For a storefront that's the difference between a returns storm and a clean Q4. For anything you ship: your test suite verifies structure, not semantics. The espresso maker was "a 3-image product page with valid HTML and a working PayPal form" by every automated check I had. Only a model that can look knew it was a mug.

Storefront (six honest products): nooknest.trywakeel.com
Written at 2am, after the audit. If your catalog has >20 SKUs, run the montage tonight.

Top comments (0)