Guilds AI / AI Blog

,

Computer Vision Retail Metrics: KPIs and How to Measure

Retail analytics workstation comparing a reference shelf layout with detected products and a missing shelf item.

Computer vision retail metrics measure what a visual monitoring system observes, how reliably it recognizes store conditions and whether employees can act on the resulting information. For shelf monitoring, important measures include on-shelf availability, planogram compliance, observation coverage, precision, recall and time to resolve a verified exception.

A useful dashboard distinguishes the condition of the store from the quality of the system observing it. A high availability score is not evidence of a reliable model if many shelves are missing from the dataset. This guide explains metric definitions, calculation examples and validation procedures based on technical documentation and published research reviewed December 2, 2026. The numerical examples are fictional, not vendor benchmarks. For financial decisions, see our separate computer vision retail business value guide.

Computer vision retail metrics at a glance

MetricIllustrative definitionMeasurement layer
Observation coverageValid observations / scheduled eligible observationsData completeness
On-shelf availability (OSA)Available SKU observations / valid eligible SKU observationsStore condition
Planogram complianceCompliant positions / valid positions auditedStore condition
Share of shelfBrand facings / all valid facings in scopeMerchandising
Alert precisionCorrect positive alerts / all positive alertsModel quality
Alert recallDetected true events / all reference true eventsModel quality
Resolution within targetVerified cases resolved within target / eligible casesOperations

Agree on the measurement unit before comparing results. A product facing is a visible front-facing display position, whereas a stock keeping unit (SKU) identifies a specific product variant. A shelf image may contain multiple facings of the same SKU. Counting individual packages, facings, unique SKUs and repeated observations produces different denominators.

Commercial shelf monitoring products such as Vispera Shelfsight document availability, shelf share, layout compliance and price-label checks as distinct measures. Vendor terminology and calculation choices may differ, so request the exact definitions used by a proposed implementation.

Shelf availability and merchandising KPIs

On-shelf availability and out-of-shelf rate

A practical observation-based OSA measure asks whether a ranged product is available to purchase at a specified store location and time. If 920 of 1,000 valid eligible SKU observations are available, OSA is 92%. If the remaining 80 are all verified unavailable, the corresponding out-of-shelf rate is 8%. These figures complement each other only when the same scope, validity rules and binary categories apply.

An empty shelf is not necessarily evidence that the store has no inventory. There may be units in a stockroom or another authorized display. Define whether the measurement concerns a particular shelf, the primary selling location or all eligible displays. For continuous monitoring, define how repeated observations and gap duration are counted.

Always report coverage with availability. If 1,250 eligible observations were scheduled and only 1,000 are valid, coverage is 80%. Do not silently assume that the remaining 250 products were available or unavailable. An obstructed view, missing photograph or failed inference should have a separate state. Comparing 92% availability from this sample with a fully observed store can otherwise be misleading.

Planogram compliance

A planogram specifies the intended product arrangement for a display. A compliance measure can compare individual positions with the applicable layout requirements, such as product identity, order and required facings. For a simplified position-based calculation, 180 correctly configured positions out of 200 valid audited positions represent 90% compliance.

The exact rule matters. A product may be present but in the wrong position, or it may have fewer facings than required. Choose whether each condition is scored separately or whether a position must meet all relevant conditions. Record the planogram version and any approved local exceptions before measuring deviations.

Share of shelf and promotional execution

A facing-based shelf share measure might divide a brand’s 24 facings by 120 valid facings in a category, giving 20%. A width-based measure instead uses linear space, which may produce a different result when products vary in size. Do not compare the two as though they were interchangeable.

Promotional compliance can be measured as the proportion of applicable display checks that meet the approved promotion requirements. Price-label compliance similarly compares observed labels with an authoritative price reference for the same store, product and effective period. A readable label does not establish that a price is currently valid. Our AI data integration guide explains why matching source records accurately matters.

Model quality: precision, recall and F1

Evaluate the vision model against independent reference labels rather than against its own previous outputs. For a binary shelf-gap event, a true positive is a detected gap that is actually present; a false positive is an alert where the reference shows no gap; a false negative is a real gap that the system misses. A true negative is a correctly recognized absence of a gap.

Quality measureFormulaInterpretation
PrecisionTP / (TP + FP)How many generated positive alerts are correct?
RecallTP / (TP + FN)How many reference positive events were found?
F12TP / (2TP + FP + FN)Combined precision-recall summary
Accuracy(TP + TN) / (TP + FP + FN + TN)Overall correct binary decisions

Report undefined ratios as not applicable when their denominators are zero, rather than converting them into perfect scores. Accuracy can conceal a failure on rare events: a system that always predicts no gap could be 95% accurate in a sample containing only 5% genuine gaps while missing every gap.

Google’s Machine Learning Crash Course explains the precision-recall trade-off and why the preferred operating threshold depends on the cost of different errors. In retail, excessive false alerts create unnecessary work, while missed shelf gaps can delay replenishment. Set acceptance criteria in advance using the consequences of each error and test them on held-out data.

Object detection and end-to-end accuracy

Object detection is often evaluated with average precision and mean average precision (mAP). These metrics depend on the detection classes, matching rules and intersection-over-union thresholds used to compare predicted and reference bounding boxes. A reported mAP at an intersection-over-union threshold of 0.50 is not automatically comparable with a score averaged across multiple thresholds.

A 2025 Scientific Reports study of retail planogram compliance describes distinct stages for detecting shelves, identifying products and aligning observations with a digital layout. Its evaluation demonstrates why pipeline components should be assessed separately. Results from its datasets do not establish accuracy in a different retailer’s stores.

Validate the final business event as well as intermediate model predictions. A system may correctly locate a package while assigning the wrong SKU or comparing it with an outdated layout. For constructing reference data and reviewing labels, see our annotation AI guide.

Operational reliability and response metrics

Technical quality is not the same as operational usefulness. Measure whether validated observations reach the appropriate employee within a relevant time window and whether the store can act. A missing product that is unavailable throughout the supply chain requires a different response from a shelf gap with stock available locally.

MetricRecommended measurement
Data freshnessTime from capture to availability of the measurement
Alert delivery latencyTime from a valid observation to delivered alert
Acknowledgment timeElapsed time from delivery to staff acknowledgment
Verified resolution timeElapsed time from defined event start to confirmed correction
Repeat exception rateShare of resolved cases recurring within a defined follow-up period
Service coverageShare of eligible store-hours meeting the measurement availability requirement

Use timestamps from the relevant stages and report the median and a high percentile such as the 90th percentile for response times. Define whether unresolved cases remain in the denominator. An average calculated only from quickly completed tasks will make an unreliable process appear efficient.

Consolidate repeated detections of the same continuing shelf gap into an operational case according to a documented rule. Otherwise, one unresolved gap may generate dozens of alerts and inflate apparent activity. Keep model-observation counts separate from case counts.

Worked example: evaluate a shelf monitoring pilot

Suppose a fictional retailer independently labels 1,000 valid shelf-gap observations. The reference contains 100 genuine gaps. The model detects 80 of them and produces another 20 alerts where there is no gap. It misses 20 genuine gaps and correctly identifies 880 observations without a gap.

Pilot resultCount or calculation
True positives80
False positives20
False negatives20
True negatives880
Precision80 / 100 = 80%
Recall80 / 100 = 80%
F1160 / 200 = 80%
Accuracy960 / 1,000 = 96%

The 96% overall accuracy hides the fact that one in five genuine shelf gaps is missed. The positive predictions imply a 10% observed gap rate, which happens to equal the reference gap rate in this example because the false positives and false negatives balance. This agreement does not prove that individual alerts are reliable.

Next, suppose the 80 correct detections correspond to 80 distinct eligible operational cases, of which 60 are independently confirmed as resolved within an agreed response window. The timely resolution rate among detected true cases is 75%. Among all 100 reference gaps, only 60% were both detected and resolved within that window. Specify which question each denominator answers.

Use the results to examine failure modes by store, product category, lighting and capture conditions. Do not change the acceptance rules after seeing the score. Additional independent testing is needed after a material model or camera configuration change.

Build a reliable KPI dashboard

Define a metric dictionary before building a chain-wide dashboard. Each measure should have an owner, a calculation, a unit of analysis, inclusion and exclusion rules, a source, a reporting period and an explicit rule for missing data. Record the source planogram and model versions so that historical changes can be interpreted.

Keep the aggregation method visible. If Store A has 90 available observations out of 100 and Store B has 800 out of 1,000, the pooled observation-weighted availability is 890 / 1,100, or about 80.9%. An equally weighted mean of the two store rates is 85%. Neither calculation is inherently wrong: they answer different questions. Label the method and avoid changing it between periods.

Validate the capture and reference process with representative stores, schedules and products. Review poor-quality and unobservable samples separately, use independent labels for evaluation, and preserve the uncertainty of estimates derived from small samples. Avoid treating correlated repeated observations as fully independent tests.

Set thresholds using the retailer’s baseline, operational capacity and error costs rather than copying an advertised accuracy target. Monitor changes in coverage, product assortment and model version alongside the headline KPI. If a metric changes, verify whether the underlying process improved or the measurement definition changed. Our AI business insights guide covers this distinction.

For product and shelf analysis, avoid collecting identifiable customer information where it is unnecessary. Restrict access to raw imagery and define retention, deletion and review responsibilities. Where an operational metric can be calculated using product-focused captures or aggregate measurements, evaluate those less intrusive options first. Our AI data privacy platform guide offers a wider supplier assessment framework.

Frequently asked questions

What are the most important computer vision retail metrics?

Track the retail outcome, model quality and operational response separately. For shelf monitoring, start with on-shelf availability, valid observation coverage, alert precision, recall and time to verified resolution.

How do you calculate on-shelf availability?

Divide the number of eligible, valid SKU observations in which the product is available to buy by all eligible, valid SKU observations, then multiply by 100. Report missing or unobservable observations separately.

What is a good precision score for retail computer vision?

There is no universal target. Establish acceptable false-alert and missed-event costs for the use case, then evaluate precision and recall on representative independently labeled observations.

Is mAP the same as shelf availability accuracy?

No. Mean average precision evaluates object detection under defined matching conditions and classes. It does not directly measure whether a store-level availability report is correct or whether staff have resolved an exception.

Can computer vision metrics prove retail ROI?

Not by themselves. They show measurement quality and operational outcomes. A financial evaluation additionally needs an appropriate baseline, attributable business benefits and implementation and operating costs.