Skip to content
LexDataLexData
PlatformIndustriesCustomers
DocsThe Field GuideBlogWhy models drift
AboutCareersSecurityContact
Log inStart now

// RETAIL

Inventory & Stock-Level Monitoring

Inventory & Stock-Level Monitoring. What it takes to run it.

The front row of a facing counted every few minutes, and a pallet counted at the receiving door before anyone scans it.

Start with your footageBook a demo →All of retail →

// 01 · The question

“Is that facing full, thinning or already empty, and for how long?”

// 02 · Why it is hard

The front row is what a fixed camera can see, and the second row behind it stays invisible, so a facing that reads as a few units may run deeper behind them. Reading that front-row count as a reconciled stock level, rather than a signal of change on the facing, is the mistake every team tries first and the one that fails.

// 03 · What the labels have to be

Bounding box

Decided before the first frame

The question is a count of boxed units on a shelf, or boxed pallets at a door, sampled every few minutes. A box per unit gives the count directly; a mask would measure an extent nothing here is asking for.

This is the decision that is expensive to reverse. The geometry has to match what the answer contains, and finding out it does not means labelling the set a second time.

// 03a · What it finds

A unit on the shelf

boxed in the aisle camera's frame every few minutes, one class per product the store names, so the facing's front row is counted the same way each time

A facing that has thinned or gone empty

read as a change against that facing's own pattern over the day, not against a stock number pulled from a system that cannot see the shelf

A pallet or roll cage at the receiving door

boxed on the bay camera's frame, sampled faster or on the door opening, the count checked against the delivery note before anyone scans it

A count the model doubts

a jump against the camera's own history, held for a person before anything is written to the record or an alert fires

// 03b · What it checks

  1. 01

    The front-row count against this facing's own pattern over the day and the week, since the second row behind it is never in the frame and a reconciled stock level is a promise the camera cannot keep.

  2. 02

    The gap's length against the store's own tolerance for that facing, written as a rule with a severity and a cooldown, so a short gap during a known restock window is not the same report as one that has sat open since the morning.

  3. 03

    The bay count against the delivery note, on the frame the schedule names, so a pallet counted while still on the dock is not counted again once it is racked.

  4. 04

    The rule was approved before it went live, run against frames from this store's own cameras and read by a person first.

  5. 05

    A frame the model is unsure of is not written to the record. It comes back to a person with the boxes drawn on it, and the correction trains the next version rather than the one already running.

// 03c · What the store provides

  • The aisle camera over the shelf and the bay camera over the receiving door, the ones the store already has; no shelf-edge camera, no scale and no new hardware in the aisle.
  • Frames from this store, not catalogue photographs, since the model learns a facing from how it actually sits under this camera's own angle and light.
  • The store's own tolerance for how long a facing can sit empty before it is worth a trip, written as a rule rather than assumed.
  • Someone with the morning list, since the report lands on Slack, email or a webhook with the frame attached, named by camera and facing.

// 04 · How we run it

Three parts of one loop, on this job.

LexAnnotate

Shopper Tracking

Annotate in-store video for customer detection, employee identification, door events, and product placement. Distinguish between customers, staff (by uniform), and children within each camera's region of interest.

LexInsight

Conversion Analytics

Turn raw foot traffic data into conversion intelligence. Link visual detections to store zones, time slots, and operational events. Surface patterns that static dashboards miss.

LexAlert

Store Alerts

Monitor detection accuracy across store locations. Detect when camera repositioning, seasonal displays, or lighting changes degrade model performance. Route the failures back for retraining.

How the loop fits together →

// 05 · What breaks it after launch

Covariate shift

A camera moved

→Covariate shift →

An aisle camera gets bumped by a ladder during maintenance or re-aimed toward an end cap, and the facings shift inside the frame without anyone telling the model. It still finds the product, because the product looks the same; what breaks is which facing each box gets credited to.

It is not the only one that can get this use case, it is the one that usually gets it first. All ten conditions.

// 06 · In retail

Store Intelligence

Full write-up ↓Every case study →

The Challenge

The models lacked high-quality labeled data, activity alerts came back false, and unmonitored registers left customers waiting at checkout.

Our Execution

Labeled customer and staff positions. Validated alerts and traffic counts for accurate footfall tracking.

The Result

Faster AI training with accurate labeling. Smarter alerts for open doors and empty registers.

4M+

Annotations & validations

// 06a · Questions we get asked

Does this give us a real stock count?

No, and saying otherwise would be the wrong promise. A fixed camera sees the front row of a facing, not what sits behind it, so the count is a signal of change, full to thinning to gone, read against that facing's own pattern. Teams that try to reconcile it against the system's stock number spend their time explaining the second row instead of using the signal.

What about the receiving bay?

A different model on the same footage path. Its classes are pallets and roll cages rather than products, sampled faster or on the door opening, and the question it answers is how many arrived and when. That count against the delivery note is an early check the store gets before the goods ever reach the shelf.

What happens when the camera gets bumped or re-aimed?

Nothing in the footage announces it, and the model still finds the product, because the product looks the same from a new angle. What breaks is which facing each box gets credited to, and the tell is a step: the counts on that one camera jump on a maintenance date while every other camera in the store holds. A short window of frames from the new framing, labeled by the person who checks the morning list, fixes it.

What does the store receive, and when?

An alert on the frame the schedule names: which camera, which facing, how long it has read empty, and the frame it was read from, on Slack, email or a webhook into whatever the store already carries. A cooldown keeps a facing that stays empty from reporting on every sampled frame, and a severity tells a facing short by one from a bay that has sat open since opening.

Read next

Inventory monitoring from a frame every few minutes, the full walk-through →Shelf and planogram compliance, the same facing count extended to the whole bay's own plan →What a bumped or re-aimed camera does to a facing's own count →
Start with your footageBook a demo →

// 07 · Also in retail

Traffic Counting & Conversion→Checkout Queue Monitoring→Shelf & Planogram Compliance→Store Safety & Validation→Employee Activity Monitoring→Checkout Product Verification→All forty-one→
Traffic Counting & ConversionCheckout Queue MonitoringShelf & Planogram ComplianceStore Safety & ValidationEmployee Activity MonitoringCheckout Product VerificationAll forty-one →

Send us a week of this footage. We’ll show you what comes back.

Start with your footageBook a demo →
LexData
LexData

Product

  • Platform
  • Industries
  • Use cases

Resources

  • Docs
  • The Field Guide
  • Blog
  • Why models drift

Industries

  • Energy & utilities
  • Oil & gas
  • Agriculture
  • Manufacturing
  • Insurance
  • Retail
  • Robotics

Company

  • About
  • Customers
  • Careers
  • Contact

Trust

  • Security
  • Privacy
  • Terms

Stay updated

What we learn running vision models in production.

See everything.
Miss nothing.

Stay updated

What we learn running vision models in production.

Terms of use & Privacy policy

© 2026 LexData Labs · All rights reserved