Back to Case Studies

Rack-Inspector: AI Pallet-Rack Safety Inspection with Human-in-the-Loop Grading

·
A third-party logistics (3PL) operator with warehouses in the UK, US and Australia

Executive Summary

GenAI Protos built Rack-Inspector, a working end-to-end MVP that turns a single warehouse rack photo into defect boxes, a GREEN / AMBER / RED safety grade, and an audit-ready inspection record. It supports three regional standards (SEMA / EN 15635, ANSI MH16.1, AS 4084), catches 87% of critical RED cases, costs under $0.01 per photo, and returns results in about 3 seconds. Qualified inspectors stay in control of every decision that carries safety or legal weight.

01Problem Statement

Every pallet rack is a load-bearing steel structure, and a single forklift strike, missing locking pin, detached brace, or missing anchor can turn a safe bay into a collapse risk. Manual inspection is slow, subjective, and inconsistent: two inspectors can grade the same bay differently, and the paper trail is often thin when an incident is investigated.

The requirement was an AI-assisted inspection workflow that would:

  • Flag visible rack damage from a field photo and point inspectors directly to defects.
  • Apply the correct traffic-light grade for each region's safety standard.
  • Never auto-clear a hazard, and keep humans on millimetre-level and legally meaningful calls.
  • Produce a defensible, audit-ready record for every inspection.

02Our Approach

We started with the data. Analysis of 200 real inspection photos plus a blind feasibility test (which reached 87%) confirmed the approach was viable and shaped two key decisions: millimetre boundaries stay with humans and gauges, and inspector annotations drawn on photos are excluded from training so the model learns rack condition, not markup.

We then built a layered detect, grade, apply-rules, and route-to-human pipeline:

  • Capture and triage: A fine-tuned CNN ensemble (two EfficientNetV2-S variants plus ConvNeXt-Tiny) returns a fast GREEN / AMBER / RED guess, used only as a weak prior. VLM defect grading: Gemini (via OpenRouter) localises defects, draws boxes, estimates region-neutral severity, and explains its reasoning as validated JSON.
  • Region rule layer: The only layer that assigns colour. It maps neutral severity to each region's thresholds, action wording, and cited clause, with categorical RED rules for missing pins, anchors, or bracing.
  • Human-in-the-loop gate: RED, AMBER, low-confidence, poor-photo, and millimetre-borderline cases are routed to a qualified inspector.
  • Audit report and feedback loop: Every output stores defect boxes, grade, clause, and raw evidence, and every confirmed human decision feeds back as clean training data.
  • Deployment was split across tiers: a lean FastAPI app on Railway, the classifier on an on-prem GPU service, and the VLM as a managed API. If the classifier fails or slows down, the system degrades gracefully to "no hint" rather than blocking or silently clearing a hazard.
System Architecture & Flowclick to zoom
Figure 1 - How the AI assistant retrieves and cites source documents
Figure 1 - How the AI assistant retrieves and cites source documents
Figure 1 - How the AI assistant retrieves and cites source documents

03Outcome

Next phases cover a live warehouse pilot with guided capture and photo-quality gating (with zero missed REDs as the bar), followed by on-device grading, offline sync, and multi-site rollout.

  • 87% of critical RED cases caught, graded serious, or flagged for sign-off
  • ~92% recall on the critical RED class from the classifier ensemble
  • Under $0.01 cost per photo graded
  • ~3 seconds mean latency per photo
  • 3 regional standards supported (UK/EU, US, AU) from a single core model
  • A defensible audit trail with defect boxes, cited clauses, raw evidence, and human confirmations
  • A safety-first design that never silently clears a hazard

04Tech Stack & Ecosystem

Key models, frameworks, and core infrastructure powering this solution.

Triage model

A fine-tuned ensemble of two EfficientNetV2-S models and ConvNeXt-Tiny. It catches about 92% of critical RED cases and works only as a hint, never as the final grade.

Vision-language model

Gemini via OpenRouter. Draws defect boxes, estimates severity and returns validated JSON.

Region rule layer

Deterministic rules turn severity into a GREEN, AMBER or RED grade for each standard (SEMA / EN 15635, ANSI MH16.1, AS 4084), with the cited clause. Only this layer assigns colour, never the AI.

Human-in-the-loop gate

RED, AMBER, low-confidence, poor-photo and borderline cases go to a qualified inspector.

App & serving

FastAPI app on Railway, the classifier on an on-prem GPU, and the VLM through a managed API.

Safe fallback

If the classifier fails or slows down, the system continues with "no hint". It never blocks a check or clears a hazard.

Audit & feedback

Stores boxes, grade, clause and evidence. Confirmed decisions go back in as training data.

05Client Testimonials

“A damage flag alone wasn’t enough for our inspectors; they needed to see the defect and the basis for the proposed grade. GenAI Protos built an MVP that marks defects on photos, applies regional grading rules, and records the evidence. They kept borderline measurements and final safety decisions with qualified inspectors, which was essential for us.”
LU
Warehouse Operations & Safety Team
Logistics, UK, US & Australia

Spot pallet rack damage. Keep inspectors in control.

Turn rack photos into flagged defects, regional safety grades, and inspection records for human review.

Frequently asked questions

Rack-Inspector marks visible defects in a photo and presents a proposed grade with supporting evidence for an inspector to review.

The MVP applies region-specific rules for SEMA / EN 15635, ANSI MH16.1, and AS 4084. A rules layer assigns the grade and cites the relevant clause.

RED, AMBER, uncertain, poor-photo, and borderline cases go to a qualified inspector. The system does not silently clear a suspected hazard.

It should retain the defect location, proposed grade, applicable clause, source photo, and inspector confirmation. The MVP records these for audit review.

This is an MVP, with a live warehouse pilot planned next. Its feasibility test caught or escalated 87% of critical RED cases; field validation remains necessary before rollout.