HomeServicesPortfolioAboutContactBlogCareers
Book a call
Retail

Computer Vision for Fashion Apparel Stores: Folded Stock and Rail Density

September 2026 · ISTRALLEN Team

Out of stock does not look like an empty shelf

In a grocery aisle, a stockout is a rectangular gap. In an apparel store, it is a rail that has thinned to a few garments, a folded stack that has dropped below a fill line, or a size run missing its middle sizes. Computer vision for an apparel store has to detect those states, which are softer and more visual than the gap detection built for packaged goods.

Rail density and fill level

The useful signals on a hanging rail are density — how many garments per unit length — and whether a style has dropped below a replenishment threshold. On folded tables, it is stack height and footprint against the display standard. These are estimation problems more than object-detection problems, and the model has to be trained on what "needs attention" looks like for that retailer.

Size-run completeness

A rail with plenty of garments can still be broken if it is missing the sizes most people buy. Where garments carry visible size markers, or where planogram position maps to size, vision can flag a broken size run — often a bigger lost-sale driver than total facings.

Presentation, not just availability

Apparel floors are judged on how they look. Vision can flag a table that has been left messy, a rail pushed out of alignment, or fallen garments, which is a store-standards signal alongside the stock one. Whether that is worth alerting on depends on how the retailer runs its floor.

The same edge and routing approach

The architecture underneath is the one from our computer vision project: a single-shot detector on low-power edge hardware, on-device inference, a structured event rather than an image leaving the store, and confidence-based routing so only clear detections become staff tasks. What changes is the training data and the definition of a positive.

Camera placement for rails and tables

Apparel fixtures are tall, deep, and frequently moved for merchandising resets. Cameras need a consistent view of the fixtures that matter, and the system has to tolerate periodic re-merchandising without flooding staff with change alerts every time the floor is reset.

A worked example

A denim wall thins out on a Saturday afternoon as shoppers pull the popular washes. The camera estimates rail density has dropped below the refill threshold for two styles and sends a high-confidence alert. Staff top up from the stockroom before the wall looks picked-over. A folded knitwear table that a customer has left untidy generates a lower-confidence presentation flag that goes to the review queue rather than interrupting anyone mid-task.

Re-baselining after a reset

Apparel floors are re-merchandised constantly — new season, new campaign, a fixture moved to change flow. The system needs a fast, deliberate way to accept a new layout as the baseline, ideally tied to the retailer's own merchandising calendar so a planned reset is expected rather than alerted. Without that, every seasonal change produces a wall of "this does not match" flags, staff learn to dismiss them, and the real stock alerts get dismissed alongside the noise. The re-baseline step is a small piece of process that protects the whole system's credibility.

Where this stops being right

  • Fashion judgment — whether a display is on-brand, whether a mannequin needs restyling — is not a detection target.
  • Frequent, large merchandising changes can outpace the model's fixture map and need a re-baseline rather than a stream of alerts.
  • Small boutiques with one or two staff on the floor already see the whole shop; the value is in larger stores.

FAQ

Why can't grocery shelf-monitoring vision be used as-is for apparel? Because an apparel stockout is a thin rail or a low folded stack, not a rectangular gap. The model has to be trained on density and fill-level states, not packaged-goods gaps.

Can it detect a broken size run? Where garments have visible size markers or planogram position maps to size, yes — and a missing middle size run often costs more sales than low total facings.

Does it also flag messy displays? It can flag misaligned rails, untidy tables, and fallen garments as a presentation signal. Whether to alert on those depends on how the retailer runs its floor standards.

ISTRALLEN builds computer vision for apparel retail that reads rail density and size runs, not just shelf gaps — see AI for Retail.

See it in production
AI for Retail → Semantic search case study →
← All articles