QualityVerified Real deployment at a named or precisely described company, with a measured result from a primary source.

Deep learning in the automatic visual inspection of syringes and vials tells air bubbles and glare from real particles and cracks, so fewer good injectable doses are rejected and more defects are caught (Amgen, MSD, Thermo Fisher Scientific)

Added 2026-11-24 · Last updated 2026-11-24

Manufacturers in this case: Amgen · MSD · Thermo Fisher Scientific · all manufacturers using AI

Role

100% automatic visual inspection (AVI) of filled syringes, vials and ampoules in sterile injectable drug production: particle and container defect detection, false reject analysis, re-inspection · Typical users: visual inspection lead, process development engineer or scientist, quality assurance, validation engineer, packaging and fill-finish line manager, data scientist

The problem

Every filled syringe, vial or ampoule of an injectable drug must be inspected for particles and container defects before release. Automatic inspection machines do this at high speed with many cameras, but their rule-based vision cannot always tell a harmless air bubble or a reflection from a glass particle or a crack, so plants set them to reject anything doubtful. Good, often very expensive doses end up in the reject bin or go to slow manual re-inspection, and tightening detection usually means even more false rejects. Jorge Delgado, a scientific director of process development at Amgen, a US biotechnology company, says that by some estimates up to 20%, and sometimes more, of acceptable products slide down the reject chute because the machine misreads glare as a crack or bubbles as particles. Manuel Soto of Amgen's Core Technology Team describes the challenge: most inspection machines are very effective at detecting defects, but they also produce a lot of false rejections that represent a significant cost to operations; bubbles around the syringe's rubber stopper in highly viscous solutions are especially hard. At MSD (Merck & Co.), a standard inspection line has 30 to 50 cameras running stringent rules, and the company found that a majority of the rejected medicines were actually good products, rejected because of process input variations that are hard to identify in images; experts had to pull data from several systems and spend weeks collating it to investigate. Körber, a maker of inspection machines, puts false reject rates at 1 to 45 percent depending on the product, costing the industry up to 740 million dollars a year (a vendor estimate).

How AI helps

A deep learning model, trained on labeled images of real defects and of harmless look-alikes from the plant's own products, is added to the inspection machine, usually only at the camera stations where rules perform worst, alongside the existing rule-based checks. It decides whether a doubtful object is a particle, a bubble, a crack or a reflection; the model is validated like any other GMP equipment and then locked under change control. Analytics on the stored reject images also show which cameras, batches and process conditions create most false rejects, so engineers can tune the machine and the process. At Amgen's Juncos, Puerto Rico plant, Syntegon (formerly Bosch Packaging Technology) retrofitted one critical station of a 2015 Syntegon syringe inspection machine with 13 stations: the existing optics and line-scan camera were kept, only the PCs and software were updated, and the model was trained offline in MVTec HALCON, the deep learning vision software the plant engineers already used; once validated, the model is locked, encrypted and version controlled. At MSD, the HawkAVI platform built on AWS unifies process data from upstream manufacturing systems and the OSIsoft PI historian with terabytes of inspection images per machine, uses Amazon SageMaker models to search, categorize and label defect images across cameras and batches, finds the root causes of false rejects and recommends corrective actions to the manufacturing team. At Thermo Fisher Scientific's pharmaceutical site in Monza, Italy, human inspectors work with an AI model for vial particle inspection. Amgen's Jorge Delgado stresses that deep learning complements rule-based algorithms rather than replacing them, that human inspectors remain essential, and that it is less practical for low-volume products.

Step by step

  1. Measure where false rejects come from: reject rate by product, machine, camera station and defect category, and how many rejects pass manual re-inspection (the false reject share).
  2. Pick one or two stations with the most false rejects and a clear look-alike problem (bubbles versus particles, glare versus cracks), and check the images are good enough for a person to tell them apart.
  3. Build a labeled image library from real production: confirmed defects, defect test sets and harmless look-alikes, with inspection experts agreeing on each label.
  4. Train and test the model offline against the current rules on a known defect set and on rejected good units, keeping detection at least as high as today.
  5. Validate the station with quality and validation teams, lock and version the model, and run it in parallel with the existing station before releasing it.
  6. Track false rejects, detection on the defect test set, re-inspection hours and yield per batch, and retrain only through change control when products or containers change.

Tools

  • Syntegon AI-equipped visual inspection station (deep learning retrofit of a Syntegon syringe inspection machine), with models trained in MVTec HALCON: used at Amgen Juncos
  • In-house HawkAVI platform built on AWS (AWS Glue, Amazon S3, AWS DataSync, Amazon SageMaker, Amazon OpenSearch Service): built and used at MSD
  • AI model for vial particle inspection working with human inspectors: used at Thermo Fisher Scientific Monza (the article does not name the software)
  • Other tools to evaluate: AI options from inspection machine makers (Körber B.R.AI.N, Stevanato Group Vision AI, Syntegon), deep learning vision libraries (MVTec HALCON, Cognex), a model trained by your own team, all within a validated change-control process
  • To start without new software: an export of reject counts by camera station, defect category and batch, plus manual re-inspection results, and any LLM (ChatGPT, Claude, Copilot, Gemini) with the prompt below

In the AI tools index: Syntegon AI visual inspection · MVTec HALCON · Amazon SageMaker · all AI tools used by manufacturers

Result

Amgen (Syntegon press release, the machine vendor, and Packaging Digest, February 2021): at the retrofitted station, the particle detection rate rose by about 70% while the false detection rate fell by about 60% (average values at that inspection station); Packaging Digest, citing Syntegon, calls it the first fully validated visual inspection system using AI, and Amgen's Manuel Soto said validation was not much different from a conventional installation. MSD (AWS blog co-written by MSD's HawkAVI architect and its data science lead, November 2022): HawkAVI insights reduced overall false reject rates by 50% in various product lines and, in various cases, product reject rates by around 50%, with fewer investigations and right-first-time change controls; the platform won a 2021 Manufacturing Leadership Award in the AI/ML category. Thermo Fisher Scientific (The Medicine Maker, February 2026): in a study at the Monza site, combining human expertise with an AI model for vial particle inspection reduced the false rejection rate by 84%, and about 60 hours of human labor per batch were saved after the AI-driven inspection was introduced.

As reported by the source; most figures are vendor or self-reported and not independently verified.

Human review: cautions

  • Amgen's figures come from the machine vendor (Syntegon) and a trade magazine and apply to one inspection station; MSD's from an AWS blog written by MSD staff; Thermo Fisher's from a short magazine article that gives no baseline. None is independently audited.
  • Detection of real defects must not fall: compare every model with the existing station on a qualified defect test set before it goes live.
  • In GMP production the model is part of a validated system: lock it, version it, and retrain only through change control, with quality and validation teams involved from the start.
  • Deep learning helps most on high-volume products with hard look-alike defects; for low-volume products the training and maintenance cost may not pay off, as Amgen notes.
  • Human inspectors stay in the loop for doubtful units, in-process checks and new defect types; the AI does not release batches.

Try it yourself

You are a visual inspection lead in a plant that fills injectable drugs in syringes, vials or ampoules. I want to know where our automatic inspection machines reject good units and whether adding deep learning to some stations is worth a project.

I will paste: (1) reject data by batch [batch, product, container, machine, camera station, defect category, units inspected, units rejected]; (2) manual re-inspection results of rejected units [batch, station or defect category, units re-inspected, units found good, real defects found]; (3) the cost per unit or per batch and the re-inspection hours if we have them.

Do this:
1. Compute the reject rate and the false reject share (rejected units found good at re-inspection) by product, machine, station and defect category.
2. Rank the stations and defect categories by the number and cost of false rejects and by re-inspection hours.
3. For the top stations, say what look-alike problem is most likely (bubbles, glare, cosmetic marks, viscosity) based only on the defect categories and products; say clearly when the data does not allow a conclusion.
4. Propose a pilot on one or two stations: the images and labels to collect, how to compare a deep learning model against the current rules without lowering detection, and the validation and change-control steps to plan with quality.
5. Draft a one-page summary for the plant quality manager with the expected gain range and the open questions.

Use only the data I paste in; if something is missing, write 'not found' or list it as a question instead of guessing. Do not send, order, post or change anything in any system: produce drafts for my review and approval.

Want more like this? Join the newsletter

Related cases

All 26 Quality use cases →

Sources

How to cite this case

Figures belong to the sources above; please cite this page with its evidence level so readers can check them.

AI Agents for Manufacturing. (2026). Deep learning in the automatic visual inspection of syringes and vials tells air bubbles and glare from real particles and cracks, so fewer good injectable doses are rejected and more defects are caught (Amgen, MSD, Thermo Fisher Scientific). Evidence level: Verified. Last updated November 24, 2026. https://aiagentsformanufacturing.com/use-cases/ai-deep-learning-automated-visual-inspection-syringes-vials-false-rejects-amgen-msd-thermo-fisher/

Short form: Amgen, MSD, Thermo Fisher Scientific, as reported in "Deep learning in the automatic visual inspection of syringes and vials tells air bubbles and glare from real particles and cracks, so fewer good injectable doses are rejected and more defects are caught", AI Agents for Manufacturing (Verified evidence), https://aiagentsformanufacturing.com/use-cases/ai-deep-learning-automated-visual-inspection-syringes-vials-false-rejects-amgen-msd-thermo-fisher/

Markdown version for AI assistants: /use-cases/ai-deep-learning-automated-visual-inspection-syringes-vials-false-rejects-amgen-msd-thermo-fisher.md

Weekly: 1–2 practical AI use cases for your plant

Newsletter in

Free, one email a week. By subscribing you agree to receive the weekly newsletter (and its sponsor message) from AI Agents for Manufacturing. Every email includes an unsubscribe link, and you can unsubscribe anytime. See our Privacy Policy.