Loopr AI
AI-powered industrial quality inspection and manufacturing intelligence
Built the edge inference runtime, per-SKU anomaly and segmentation models, the training and model-release pipeline, and the Semantic Kernel quality Copilot behind Loopr AI's industrial inspection platform.
Loopr AI: AI quality inspection and manufacturing intelligence
100–300 ms
p99 trigger-to-decision, Intel IPC
95–99%
Recall floor on critical defects
30–90%
Fewer escapes vs manual inspection
0.95–0.99
Anomaly image AUROC per SKU
Stack
Overview
Loopr AI is an AI-powered quality intelligence system for manufacturers. Cameras capture product evidence at the station, computer vision runs at the edge to identify defects or verify assemblies, uncertain results go to human review, and quality teams investigate trends across lines and plants.
The central idea: turn factory inspection data into consistent, traceable and actionable quality intelligence, from the camera on the production line to the decisions made by quality and operations teams.
The problem
On many lines, an operator inspects a part against a paper checklist and records a defect in a spreadsheet.
- Hard-to-detect defects: visual inspection depends on lighting and operator experience, and rare defects are hard to catch.
- Late discovery: a defect found only at final inspection raises the cost of rework, scrap and containment.
- Unreliable connectivity: some WAN links are unreliable, so a cloud-dependent system cannot run on those lines.
My role
As an AI engineer at Loopr AI, I worked inside the engineering team and built three areas of the platform: edge inference and model deployment, the vision AI models and their training pipeline, and the quality Copilot. Deployment and operations (Bicep, Helm, Argo CD, Azure DevOps Pipelines, AKS and the monitoring stack), security and compliance, and plant installation and camera setup with customers were built and run by the team.
What I built
Edge inference and model deployment
- Azure IoT Edge modules on Intel industrial PCs that run OpenVINO + ONNX Runtime inference, with TensorRT on NVIDIA stations.
- ONNX to OpenVINO IR export with output-equivalence checks, signed model packages, and line-by-line rollout with automatic rollback.
- IoT Hub only controls module images and model versions, so inspection data never depends on it.
Vision AI and training pipeline
- A per-SKU Anomalib anomaly model (PatchCore or EfficientAD) trained on each SKU's reference good set.
- SegFormer defect segmentation added class by class once labeled defects pass the evaluation gate.
- Training on Azure ML pipelines with MLflow tracking, and a FastAPI model-management service for datasets, training jobs, evaluation and packaging.
Quality Copilot
- A Semantic Kernel Copilot on Azure OpenAI that answers from authorized SQL Server data, Fabric KPIs and approved documents with source references.
- The kernel is built per request with only the plugins the caller's role allows.
- The Copilot cannot release products, change inspection plans, deploy models or close CAPAs.
Results
- Latency: p99 trigger-to-decision of about 100–300 ms end to end on an Intel IPC with OpenVINO.
- Anomaly detection: image AUROC per SKU on real lines of about 0.95–0.99.
- Critical defects: recall of at least 95–99% on critical defect classes at a 0.5–2% false-reject rate.
- False rejects: an overkill rate of about 0.5–3% after tuning.
- Escapes: 30–90% fewer escapes versus manual visual inspection.
- Segmentation: SegFormer IoU per defect class of about 0.6–0.85 for blob defects (dents, stains) and about 0.4–0.6 for thin scratches.
- New-SKU onboarding: about 100–300 good images and 1–3 days, including the capture session, contamination review and HIL test.
- Quantization: INT8 vs FP16 accuracy loss under 1 point AUROC or mIoU.
- Rollout and rollback: a layered deployment reaches devices in a few minutes, a full line-by-line rollout takes days because of soak windows, and rollback takes a few minutes with no download.
Tech stack
| Layer | Technologies |
|---|---|
| Frontend | Blazor WebAssembly PWA, Blazor web app, IndexedDB, Power BI Embedded |
| Backend | ASP.NET Core, Python (FastAPI), Keycloak / OIDC, EMQX MQTT, NATS JetStream, Redis |
| Data | SQL Server / Azure SQL Database, Microsoft Fabric Lakehouse, PySpark, Azure Blob Storage, MinIO, SQLite |
| Computer vision | PyTorch, PyTorch Lightning, Anomalib, SegFormer, RT-DETR, EfficientNetV2, PaddleOCR, OpenCV |
| Edge and MLOps | Azure IoT Edge, OpenVINO, ONNX Runtime, TensorRT, OPC UA, Azure ML, MLflow, Labelbox |
| AI Copilot | Semantic Kernel, Azure OpenAI, SQL Server vector search |
| Infrastructure (team) | AKS, Azure IoT Hub, Bicep, Helm, Argo CD, Azure DevOps Pipelines, OpenTelemetry, Grafana |
Related case studies


