Skip to content

Packaging and Seal Defect Data

By Noah Loul · Reviewed by Noah Loul · Updated

  1. 01Your data spec
  2. 02Matched to businesses
  3. 03Rights and samples reviewed
  4. 04Licensed delivery
How it works with SourceX: Your data spec → Matched to businesses → Rights and samples reviewed → Licensed delivery.Illustrative

Short answer

Packaging lines generate large reject archives: images of pouches, trays, caps, cartons and labels that an inline camera rejected, usually with a rejection reason. Seal and closure defects such as channel leaks, wrinkles, contamination in the seal and misaligned caps are visible in those images. Reasons are machine-assigned, reject images over-represent false calls, and few lines keep accepted images.

What a packaging line produces

A filling and packaging line runs fast, with inline cameras checking each package: seal integrity, cap and closure position, fill level, label presence and print, date code legibility, and foreign material. Rejected packages are diverted to a bin. Many systems save the rejected image with a reason code; fewer save accepted images, because storage was costly when the system was installed.

The result is an unusual asset. The rejects are plentiful, since a line may reject thousands of packages in a shift when a fault occurs, and they are tied to timestamps, a lot and a reason. But they carry the system's judgment, which may be wrong, and they represent an unbalanced sample of what the line makes. The broader pattern is covered in in-line machine vision archives. This page sits in the inspection cluster of the humanoid data section.

What the data can and cannot support

It can support seal, closure and package-integrity detection, anomaly detection when paired with defect-free images, rejection-reason classification, false-call filtering, and evaluation sets for new inspection hardware. Anomaly methods are usually benchmarked with defect-free training images and pixel-precise test annotations, as in the MVTec AD set of 15 categories (Bergmann et al., 2021), so a packaging archive is more useful when it includes normal images. The wider options for sourcing defective and normal data together are in sourcing defect image datasets.

It cannot show package handling. A humanoid picking up pouches or opening cartons needs grasp, force and deformation data that inspection images do not hold. It cannot reveal whether a hidden leak exists, since cameras see surfaces; leak tests, seal strength tests and pressure decay are separate measurements. And food, pharma or hazardous goods packaging adds regulatory context beyond appearance.

Defect families in packaging

FamilyExamplesImaging considerations
SealChannel leaks, wrinkles, creases, product in seal, partial sealBacklight or transmitted light often needed
ClosureMissing cap, cross-threaded, high cap, broken tamper bandSide views and top views
Fill and headspaceUnder- or over-fillCovered in fill-level and closure inspection
ContainerDents, cracks, scuffs, deformationReflective surfaces, glare
Label and printSkew, missing, smeared, wrong lot codeCovered in label and print quality inspection
Foreign materialFragments, hair, glassCovered in foreign object detection
Case and palletCrushed cartons, open flapsDifferent camera stage

Reflective or transparent packaging deserves a specific check. MVTec AD 2 includes transparent and reflective objects and a split captured under varied lighting, which reflects that the benchmark authors treat those factors as harder cases (Heckler-Kram et al., 2025). Metallized film and clear trays are common sources of glare artifacts.

Illustrative reject-archive extract

Illustrative; values are synthetic.

FieldExample
image_idrej_0048213
timestamp, line_id, station_id2026-05-14T03:22Z, line_7, st_2
product_sku, lot_idSKU_A31, L_9042
machine_reasonseal_contamination
machine_score0.91
operator_reviewconfirmed / false_call / not_reviewed
final_causefilm_temperature_drift
accepted_sampleSeparate stream of 1-in-200 accepted images
recipe_versionR_2026_04

The operator_review and accepted_sample fields convert a reject pile into training data. Without them, the set is a list of machine opinions.

Quality criteria

False-call rate. Ask what share of rejects are good packages. High false-call rates are normal; they need to be labeled, not hidden.

Accepted images. Ask whether any exist and how they were sampled. A 1-in-N sample of accepted images across lots gives a representative normal class.

Recipe and lot structure. Packaging changes by SKU, film, tooling and season. Hold out lots or SKUs so a model does not memorize a design; see rare defects and class imbalance for why this matters with skewed classes.

Cause linkage. A reject spike usually traces to a process cause. Linking images to a documented cause makes them more informative than the reject reason alone.

Printed content. Packaging images contain brand names, ingredient text, barcodes and handling symbols. Standardized symbols, such as those in ISO 780 for marking distribution packages to convey handling instructions (ISO, 2015), are not sensitive, but brand artwork and lot codes are.

Preparing a packaging archive for use

Separate reject causes. A seal reject caused by film temperature drift looks different from one caused by a contaminated product stream. Cluster by cause so each class is coherent.

Balance time. Rejects arrive in bursts when a fault occurs, so a month of images may be dominated by two incidents. Sample across incidents and keep the burst structure in metadata, otherwise a model learns the incident.

Keep unreviewed images flagged. Images with no operator review are not negative examples. Label them unknown and exclude them from scoring.

Reproduce the camera view. Save the crop and mask that the inline system applied, since region-of-interest choices determine what the model can see. See imaging conditions and metadata.

Supplier types

Food, beverage, pharmaceutical, personal care and consumer goods manufacturers all run packaging lines, as do contract packagers. Packaging machinery makers and vision integrators hold test images from customer trials, though customers often own those. Ask who controls the archive: the plant, the brand owner or the integrator.

For natural products where appearance is graded rather than toleranced, see food quality grading images.

Rights and provenance

Package images show brand artwork and trademarks, and they can reveal unreleased packaging designs. A contract packager's images may belong to or be restricted by the brand owner. Ask for written confirmation of who can license, and whether the pre-launch packaging appears. Blurring text does not resolve ownership. This is not legal advice.

Limitations and extra preparation

Reject archives are shaped by the line's settings. A vision system with a tight threshold rejects many good packages; a loose one lets defects through, and the archive only contains what was flagged. Rejection reason codes are often assigned by the machine, not confirmed by a person, and they may be overwritten or reused when a line is reconfigured. Normal images are frequently not kept at all, which limits anomaly detection unless the line owner agrees to retain a sample. Transparent films, foils and printed artwork change from one product run to the next, so a model trained on one run's packaging may not transfer to the next design.

The data supports seal and package-integrity inspection and false-call filtering, not package handling: it records no grasp, force or deformation. Plan for extra preparation: confirming reason codes against a manual review sample, recording camera and lighting per period, masking brand artwork or lot codes where needed, and splitting by product run or date so that an evaluation actually tests unseen conditions.

Questions to ask line owners

  1. Which inspection system saved the images, and under which recipe versions?
  2. Are accepted images kept, and at what sampling rate?
  3. Is the reject reason machine-assigned only, or reviewed by an operator?
  4. What is the false-call rate for each reason code?
  5. How many distinct SKUs, films and closure types appear?
  6. Are leak or seal-strength test results linked to any images?
  7. Does the archive include unreleased or customer-owned packaging?
  8. For how long are images retained, and in what format and resolution?

Discuss your requirements

If you need packaging and seal defect imagery from US manufacturers and packagers, describe the package types, defect families and permitted uses to SourceX. SourceX reviews the requirement and follows up about potential sources, checks the data and the supplier's licensing permissions, and coordinates the license and delivery. A request does not guarantee a match.

Tell SourceX what your evaluation set needs to cover

Sources

Frequently asked questions

What do packaging-line reject archives contain, and why are they unusual as data?

Packaging lines generate reject archives of images of pouches, trays, caps, cartons and labels that an inline camera rejected, usually with a reason. The rejects are plentiful and tied to timestamps and lots, but they carry the system's judgment, which may be wrong, and they are an unbalanced sample of what the line makes.

Why is a packaging reject archive more useful when accepted images are included?

Anomaly methods are usually trained on defect-free images, and few lines keep accepted images, so a reject-only archive lacks a normal class. A sample of accepted packages drawn across lots, such as one in N, gives a representative normal class.

What can packaging inspection images not show about a package?

Packaging inspection images cannot show package handling. Cameras see surfaces, so a hidden leak stays invisible, and a humanoid picking pouches or opening cartons needs grasp, force and deformation data that these images do not hold.

Describe the data your robots need

Describe the tasks, modalities and permitted uses you need. SourceX reviews the requirement and follows up about potential sources; a request does not guarantee a match.

Discuss your humanoid training-data requirements with SourceX
See if you qualify