Compound-V: Edge-Native Retail Perception & Behavioral Engine
How Niena Labs engineered a real-time computer vision engine that eliminates false-alarm fatigue, protects store inventory, and tracks customer behavior on standard CCTV with zero cloud dependency.

Real-time inference loop executed entirely on-premise without external network latency.
Illumination-invariant differential analysis ignores shadows, reflections, and lighting shifts.
Zero facial recognition, zero biometric databases. Strictly anonymized spatial motion coordinates.
Decoupled multi-rate display engine providing instantaneous video telemetry to floor teams.
Why Conventional Vision Fails in Physical Retail
Traditional retail loss prevention has long oscillated between two extremes: passive CCTV cameras that merely record theft for post-incident review, or naive AI systems that overwhelm store managers with hundreds of false alarms every shift.
Through empirical field measurements, our engineering team uncovered the fatal flaw behind most retail vision algorithms: The 15-Pixel Hand Tracking Trap. Under standard ceiling-mounted security cameras, human hands frequently occupy as little as 15 pixels. Systems that depend on hand-keypoint gestures and micro-finger tracking inevitably collapse when hands dip into shopping baskets, grab items behind display dividers, or move behind shopping carts.
Ambient Lighting Drift
Shoppers walking between overhead lighting arrays cast deep moving silhouettes across shelf slots. Standard pixel-difference algorithms mistake ambient shading shifts for product removals.
Temporary Aisle Occlusion
Shoppers browse in clusters, pushing carts and standing directly between cameras and shelves. Fragile trackers lose shopper identity within seconds, breaking continuous visit history.
Cloud Latency & Cost
Streaming multiple high-resolution camera feeds to cloud servers introduces 2–5 second delays—far too late to prevent unpaid exits—while incurring exorbitant recurring bandwidth charges.
Biometric Privacy Hazards
Consumers and regulators rightly reject facial recognition databases. Cloud storage of customer imagery creates massive legal, regulatory, and brand liabilities for retail operators.
Physical Evidence Over Fragile Heuristics
Compound-V discards unreliable hand-tracking heuristics in favor of an evidence-anchored pipeline. Rather than guessing what a 15-pixel hand might be holding, our engine tracks confirmed physical fixture evidence combined with continuous temporal shopper reasoning.
Four-Stage Edge Pipeline Overview
High-throughput, real-time spatial intelligence executed entirely on local edge compute appliances.
Spatial Movement & Zones
Constant-time tracking of human presence and body joints within calibrated 2D floor polygon zones. Maintains trajectory continuity even when limbs are occluded behind carts or shelves.
Illumination-Invariant Scene Evidence
Evaluates shelf slots using structural gradient and color chroma differentials. Strips away shadows and exposure shifts, confirming only actual product displacements.
Temporal Journey Modeling
Continuous sequence reasoning preserves each shopper's interaction timeline (pickup count, put-back count, handover events, and zone dwell time) across the entire store visit.
Two-Tier Alert Arbitration
Corroborates temporal consistency and physical shelf evidence before alerting. Splits outcomes into Critical Real-Time Alerts and Human Audit Review queues.
Zero False-Alarm Fatigue for Store Teams
The primary reason security teams disable automated AI systems is alert fatigue. If a system triggers five false alarms an hour, operators ignore it. Compound-V introduces a guarded state handover protocol that guarantees high confidence before sounding an alarm.
High-Risk Verified Evidence
Triggered only when an item removal is physically verified on the shelf, the object trajectory confirms concealment or unpaid exit trajectory, and the temporal pattern is sustained across multiple consecutive verification ticks.
- Instant floor staff & security radio notification
- Automated video replay generation (10s buffer)
- Zero-latency HUD overlay highlight for floor team
Silent Ambiguity Ledger
When visual evidence is incomplete—such as a shopper lingering in an occluded angle, or customer-to-customer item handovers requiring checkout confirmation—the system abstains from disruptive alarms and logs the event for silent verification.
- Silent logging to supervisor review dashboard
- Cross-checked against POS checkout register records
- Continuous background calibration feedback loop
Enterprise Ethics: Privacy by Design
Compound-V is engineered from the ground up to respect consumer privacy and adhere to the strictest global regulatory standards. It treats physical security and human dignity as complementary engineering requirements.
Video streams never leave the store's local appliance. All spatial reasoning is performed in volatile runtime memory using abstract coordinate points. Once a customer exits the store, their ephemeral track state is safely purged.
Comprehensive Store Operations & Intelligence
While Compound-V was built to eliminate shrinkage and checkout discrepancies, the underlying perception engine yields profound operational benefits across the entire physical store lifecycle:
Shrinkage & Theft Interception
Identifies product concealment, bulk shelf sweeping, and unpaid checkout bypass in real time, enabling discreet floor staff intervention before suspects exit.
Checkout Verification
Reconciles customer basket handovers against POS register scans, identifying accidental unscanned items and ticket switching at self-checkout stations.
Customer Journey & Dwell Heatmaps
Aggregates anonymous foot-traffic flows, product engagement hotspots, and average aisle dwell times to help merchandisers optimize store layouts.
Queue & Workforce Velocity
Detects checkout register queue formation in real time, automatically alerting floor managers to dispatch additional cashiers before customer friction occurs.