#99Operations

AI visual defect inspection (machine vision)

AI visual defect inspection (machine vision) automates visual product quality inspection in the Operations department and raises the defect detection rate to 99.8%. The system analyzes every item on the production line using computer vision — detecting cracks, chips, assembly defects, and dimensional non-conformances.

Applied in discrete and continuous manufacturing where manual inspection cannot keep pace with line speed or misses minor defects due to operator fatigue. Solves three typical problems: compliance risks and legal quality claims, inconsistent batch quality, manual operation errors.

Based on deployment data: Bosch Jihlava raised defect detection from 85% to 99–100%; Oxmaint on 9 lines (62,000 units per day) reduced the missed defect rate from 32% to 0.2% and prevented $8M in recall costs; Opsio reduced customer returns from 3.2% to 0.4%. Implementation takes 6–10 weeks.

Expected effect
99.8%· Defect detection rate
Complexity
Month (2-4 weeks)
Tool type
Vertical SaaS
ROI
Cost saved
Industries
Manufacturing
Integrations
Observability / monitoring
Patterns
QA / review by rubric, Monitoring and Alerting, Classification and Routing

What it does

AI visual defect inspection replaces manual visual inspection with automated frame analysis from the production line. The system connects to existing QA-station cameras or is installed with new modules above the conveyor. Each part passes through the frame — a computer vision model classifies it as acceptable or defective, marks the defect coordinates, and sends a signal to the PLC, SCADA, or monitoring system.

What happens in practice

  1. A fixed-angle camera captures each part at the inspection point on the line.
  2. The preprocessing pipeline normalizes the frame: corrects exposure, angle, and scales to the model's resolution.
  3. The computer vision model classifies the part: defect type, confidence, bounding box with coordinates.
  4. The result is checked against the rubric: which defects are acceptable for the given batch, client, and specification.
  5. On a defect, the system sends a signal to the PLC at the next station — mechanical rejection, marking, or line stop.
  6. Metrics are written to the observability stack: shift, operator, batch, defect type, coordinates.
  7. When the defect rate spikes above the control threshold, an alert is sent to the team messenger or ticketing system.
  8. All images and verdicts are archived — they serve as an audit trail for customer claims and model retraining.

What the system does not do

  • Does not replace final inspection of regulated products (medtech, aviation, high-risk food products). AI provides the initial signal; a person confirms the critical details and signs off.
  • Does not detect defect types that were not present in the training dataset. New classes require retraining and new labeled examples to expand the dataset.
  • Does not eliminate defect causes. The system catches the defect at the output, but root cause analysis remains with the process technologists and process engineering.

How it works

The system is built from four subsystems: image capture, model inference, decision-making, and production integration. Each subsystem is critical — a weak link nullifies the effect of the whole.

Technical pipeline

At the data level, everything starts with the camera. An industrial camera with the appropriate resolution is installed above the conveyor or on a robotic manipulator. Controlled lighting is provided for it: diffuse, coaxial, structured, or UV — the choice depends on the defect type. The frame trigger comes from a part position sensor or a line timer.

The captured frame goes to an edge inference server (a GPU machine near the line) or to a cloud endpoint, if the network is stable and the required latency is acceptable. The model consists of two heads: classification (pass / fail) and detection (defect localization with a bounding box). For each defect class, a labeled image dataset is collected and a convolutional neural network or vision transformer is trained.

The inference result is formalized in JSON: part ID, defect type, confidence, coordinates, timestamp. Next comes the rubric engine: rules for 'what defect level is acceptable' by batch, customer, and drawing revision. The verdict goes to the PLC via an industrial protocol (OPC UA, MQTT) and simultaneously to the observability stack, where dashboards are built for defect rates, false positives, and model drift.

Implementation steps

  1. Line audit: where to install cameras, what lighting is needed, how many inspection points, what latency is acceptable.
  2. Data collection and labeling: a labeled sample for each defect class, balancing of good and defective parts, rubric alignment with the QA department.
  3. Baseline model training: transfer learning from a pretrained CV model, validation on a hold-out dataset.
  4. Pilot on one line: parallel operation with manual inspection, collection of precision/recall metrics, threshold calibration.
  5. Integration with PLC and MES: trigger subscription, verdict dispatch, automatic rejection.
  6. Observability setup: dashboards, alerts for FP/FN growth, model drift metrics by shift, batch, and season.
  7. Retraining policy: who labels new error cases, how frequently the model is updated, how to roll back to the previous version.

Typical components

Layer

Components

Hardware

Industrial camera, lighting, trigger sensor, GPU edge server

Model

CV classification and detection model, anomaly detection, rubric engine

Integration

Industrial protocol (OPC UA, MQTT) to PLC and MES

Monitoring

Observability stack: dashboards, alerts, logging of verdicts and frames

The main source of errors is not the model, but the hardware. A glare, a camera shift of a millimeter, a change in the lighting film batch break the model faster than changes in the part. That is why drift monitoring is a mandatory module, not a nice-to-have.

Prerequisites

Three groups of prerequisites are needed to launch: technology, data, team.

Technical side:

  • An industrial camera with sufficient resolution and stable mounting above the inspection point.
  • Controlled lighting suited to the defect type (diffuse, coaxial, structured).
  • An edge server with GPU near the line, or a stable channel to a cloud endpoint with acceptable latency.
  • Access to PLC or MES via an industrial protocol (OPC UA, MQTT) or REST for transmitting verdicts.
  • Network connectivity between the camera, inference server, and monitoring system.

Data:

  • A labeled image dataset for each defect class, with a balance of acceptable and defective samples.
  • An agreed rubric: which defects are acceptable, which are not, and how this depends on the batch and customer.
  • A sample of edge cases: rare defects and borderline instances that a manual inspection operator misses.

Team:

  • A QA engineer responsible for the rubric and working in tandem with annotators.
  • A process engineer who knows the line and can allocate windows for the pilot without stopping production.
  • An IT/OT specialist for integration with PLC, MES, and observability.
  • A data engineer or ML engineer for model training and support (in-house or contractor).

Timeline: mid-range scenario implementation — 6–10 weeks from audit to production operation on a single line. Scaling to adjacent lines takes a few weeks per line with similar geometry and lighting.

Pain points

  • Compliance risks / legal errors
  • Inconsistent Quality
  • Errors in Manual Operations

FAQ

How long does implementation take?

A typical mid-complexity scenario takes 6–10 weeks. The first stage covers line audit, camera and lighting selection. The next — image collection and labeling, base model training. The final — a pilot running in parallel with manual inspection, threshold calibration, integration with PLC and the monitoring system. Scaling to adjacent lines goes faster and takes a few weeks each.

What if we have no labeled defect images?

The most common scenario — no archive exists. Two paths. First: accumulate data in parallel with manual inspection, labeling photos as defects are detected. Second: use anomaly-detection models that train only on good parts and flag everything that deviates. In practice, both approaches are combined — anomaly detection first for the pilot, then full classification as labeled data accumulates.

What are the risks and what can break?

Three main risks. First — physics-driven drift: a one-millimeter camera shift, a new film batch on the lighting, morning sun glare break the model faster than changes in the product. Second — false positives: aggressive thresholds raise FP, the line stops on good parts. Third — retraining without rollback: a new model version can degrade metrics if there is no canary deployment. Mitigated by drift dashboards and model versioning.

Is it suitable for our production?

Works in discrete and continuous production where defects are visible in the optical range: automotive components, electronics, plastics, packaging, textiles, metalworking. Industry references — Bosch Jihlava (automotive components, defect catch rate from 85% to 99–100%), Oxmaint (9 lines, 62 000 parts per day, miss rate reduced from 32% to 0.2%), Opsio (returns reduced from 3.2% to 0.4%). Not suitable where defects are invisible to the eye — X-ray, ultrasound, or spectral analysis is needed.

What about rare and new defect types?

Rare classes are the Achilles' heel of any CV model. Solved in two ways. First, anomaly-detection models that train only on good parts and flag everything unusual — even defects not seen in the training set. Second, a retraining protocol: any new missed defect goes to manual labeling and is added to the training dataset with regular model updates.

Does the line need to stop for the pilot?

No. The pilot runs in parallel with manual inspection on the live line: a camera is mounted above the conveyor, AI verdicts are written to a log and compared with operator decisions. The line does not depend on the model until the calibration period is complete. Once precision/recall consistently stay above threshold values, PLC connects to the AI verdict and manual inspection shifts to spot checks.

Want this in your business?

Book a free audit — we'll show how this automation will work for you.

Related automations

#100 · Operations

Predictive maintenance alerts

Predictive maintenance alerts automates the process of early detection of equipment failures in the Operations department and achieves the effect of reducing unplanned downtime and increasing MTBF (mean time between failures). The system collects telemetry from equipment sensors and logs, applies statistical and ML models to detect anomalous patterns, and sends alerts to engineers before a failure occurs. Unlike reactive maintenance, automation shifts parts ordering to a proactive mode: repairs are planned in advance rather than on an urgent basis. The solution is suitable for Manufacturing companies with 5-50 employees, where every hour of line downtime means direct losses. This is a custom-code automation of medium implementation complexity (6-10 weeks). It connects the observability stack (Prometheus, Grafana, or industry-specific SCADA/MES) with communication channels — Slack, email, SMS. It runs on historical failure data and requires 3-6 months of history to train the models.

Незапланований простій знижується. Замовлення запасних частин проактивне. MTBF (середній час між відмовами) зростає.

Month (2-4 weeks)Custom codeCost saved
#29 · Operations

Обробка рахунків

Обробка рахунків автоматизує вилучення даних із вхідних рахунків-фактур у відділі Операційка та усуває ручне введення. AI-агент розпізнає постачальника, номер, дату, суми та позиції рахунку, звіряє їх із замовленням або договором і передає структуровані дані в облікову систему. Рішення підходить компаніям 5–50 осіб у Professional Services, E-commerce та універсально — скрізь, де рахунки надходять пачкою з різних джерел: PDF по email, скани, фото з месенджерів. Автоматизація закриває три болі: хаос у документах, помилки ручного введення та загублені рахунки між поштою та обліковою системою. Типовий термін запуску — 2–4 тижні. Ефект проявляється у двох вимірах: бухгалтерія перестає витрачати години на перенесення даних, а фінансовий директор отримує актуальну картину по кредиторці без затримок. Помилки звіряються автоматично — система ловить розбіжності між рахунком, замовленням і договором до того, як вони потрапляють в облік.

Ручне введення рахунків усувається, помилки звіряються автоматично

Week (1-5 days)Vertical SaaSTime saved
#30 · Operations

Звіти про витрати за чеками

Звіти про витрати за чеками автоматизує процес збору, розпізнавання та категоризації чеків у відділі Операційка і досягає ефекту підготовки звіту за хвилини з автоматичною перевіркою відповідності корпоративній політиці витрат. AI-агент обробляє фото та скани чеків з файлового сховища, витягує дату, суму, категорію та постачальника, звіряє дані з правилами політики та формує готовий запис в обліковій системі. Рішення підходить для команд 5-50 осіб, де ручна підготовка звітів забирає у співробітників і фінансиста години роботи щомісяця та породжує помилки введення. Автоматизація знижує ризик порушень політики, прискорює компенсацію співробітникам і звільняє фінансовий відділ від рутинної обробки. Впровадження займає 2-4 тижні та спирається на стандартні інтеграції з хмарним сховищем і бухгалтерською системою. Фінансова команда отримує структуровані дані без ручного перенесення цифр між системами, а співробітники позбавляються від заповнення форм після кожного відрядження або закупівлі.

Звіт про витрати за хвилини, відповідність політиці перевіряється автоматично

Weekend (1-2 days)Vertical SaaSTime saved
#31 · Operations

Обробка нотаток зі зустрічей

Обробка нотаток зі зустрічей автоматизує процес фіксації рішень і вилучення завдань з дзвінків у відділі Операційка та досягає ефекту автоматичного розсилання завдань учасникам. AI-агент підключається до відеодзвінка або отримує транскрипт, вичленовує ключові пункти, формує структуроване зведення і передає завдання до трекера задач та месенджера команди. Для B2B SMB у 5-50 осіб автоматизація закриває два болючі місця: втрату інформації після зустрічей і забуті нагадування. Замість ручного розшифрування і відновлення контексту по пам'яті система видає зведення і список завдань протягом кількох хвилин після закінчення зустрічі, синхронізує їх із календарем і трекером задач. Рішення універсальне — не залежить від галузі, тому що структура зустрічей виглядає схоже в будь-якій команді: обговорення, рішення, домовленості про наступні кроки. Складність впровадження — рівень вихідного дня: 2-4 тижні на підключення інструментів і налаштування правил розподілу завдань.

Завдання самі розсилаються учасникам

Weekend (1-2 days)Vertical SaaSTime saved
Take the AI-audit (2 min)

AI agents for business — 2–3 emails a month

Breakdowns, cases and tools already working inside companies.

No spam. Unsubscribe in one click.