Skip to content

Inspection, Defect and Failure Data for Embodied AI

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

A defect detection dataset contains images of products or parts labeled good or defective, ideally with defect type, location and final disposition. For embodied AI this cluster also covers human procedural mistakes and robot manipulation failures. Such data trains inspection, error and failure recognition and builds evaluation sets; it does not teach a humanoid how to handle, reorient or repair what it finds.

Three kinds of failure data

A humanoid that inspects, assembles or serves needs to recognize when something is wrong. That covers three different datasets, and buyers often conflate them.

  • Product defects. Images of parts, assemblies or packages with scratches, cracks, missing components, bad seals or misprints. Held by manufacturers with in-line machine vision, quality teams and inspection firms.
  • Human task errors. Video of people skipping, reordering or botching steps, used to train error detection and to show what "wrong" looks like in a procedure.
  • Robot execution failures. Logs and video of robots dropping, missing, colliding or stalling, used to train failure detection, explanation and recovery.

The first two can come from operating businesses. The third comes from robots, so it follows the specialist route described in the procurement and specialist collection hub. All three sit in the failure-and-quality layer of the humanoid training data guide.

What each kind can support, and what it cannot

DataSupportsDoes not support
Labeled defect imagesSupervised defect classification and segmentation; inspection test setsHandling the part to find the defect; transfer to a different line without new data
Defect-free (nominal) image setsAnomaly detection fitted on normal appearanceDefect type names or severity
Human mistake videoStep recognition, procedural error detection, examples of recoverable errorsRobot actions or the forces involved in correcting an error
Robot failure logsFailure detection and explanation; recovery planningFailures on a different embodiment or task family without adaptation

The split between labeled defects and nominal-only data shapes what you buy. MVTec AD's training set is defect-free only, and its test set carries pixel-precise ground truth for more than 70 defect types (Bergmann et al., 2021). PatchCore, for example, fits on nominal images alone (Roth et al., 2021). Real archives rarely separate cleanly, and Real-IAD proposes a fully unsupervised setting that allows defective images in training, closer to an unsorted plant archive (Wang et al., 2024).

Which regime you need is covered in anomaly detection vs supervised defect classification.

Defects are not only surface marks. MVTec LOCO separates structural anomalies such as dents from logical ones such as a missing or misplaced component (Bergmann et al., 2022), which is closer to what a humanoid checking an assembly or a packed order must catch. Imbalance is the norm: VisA, for example, holds 9,621 normal and 1,200 anomalous images (Zou et al., 2022).

Human error data shows what goes wrong in procedures. Assembly101 recorded unscripted assembly with natural mistakes and introduced a mistake-detection task (Sener et al., 2022); IndustReal places many of its procedural and execution errors only in the validation and test splits (Schoonbeek et al., 2023), a useful pattern for evaluation design.

Robot failure data is scarce and often synthetic. REFLECT built the RoboFail dataset of failed executions and summarizes multisensory robot data for an LLM to explain failures (Liu et al., 2023). AHA generates failure trajectories by perturbing successful simulated demonstrations (Duan et al., 2024). RoboMIND does include real-world failures: about 5,000 failure demonstrations recorded with their causes (Wu et al., 2024).

Two limits recur. Inspection images show the defect, not how an inspector turned the part or changed the light to see it; that is the subject of active inspection by humanoids. And a model trained on one line, plant or product often degrades on the next, as domain shift across lines explains.

Sourcing routes

Existing assets. Manufacturers with in-line cameras or automated optical inspection keep reject images and sometimes passing images; quality teams keep nonconformance reports, dispositions and corrective actions; inspection firms hold client imagery they may not be free to license. Ask early whether passing images were retained, how long images are kept, and whether images can be joined to dispositions. Designs and customer identities usually appear in the data; see confidentiality in defect data.

Commissioned work. Rare and borderline defects often need deliberate collection: imaging physical defect samples on your own rig, recording staged procedural mistakes, or collecting near-threshold parts. If no existing asset fits, SourceX can scope a commissioned collection of new recordings.

Specialist route. Robot failure data comes from businesses already running robots, whose vendors often control the logs, or from specialist collection on your own embodiment. See robot manipulation failure datasets.

Public benchmarks. Many are non-commercial. MVTec AD, for example, is licensed CC BY-NC-SA 4.0. Check terms before building on them; the public dataset commercial license checks page lists what to look for.

How to evaluate inspection supply

  1. Label provenance. Was "defect" set by a camera threshold, an operator flag or a final material-review disposition? Only the last records the business's final decision on the part.
  2. Class balance. Counts per defect type, and how many rare classes have fewer examples than you would need to evaluate them.
  3. Leakage risk. Whether images can be split by part serial, lot, line and date so near-duplicates never straddle train and test.
  4. Imaging metadata. Camera, optics, lighting and recipe per image, and when any of them changed.
  5. Label agreement. Whether a double-labeled sample exists to estimate inspector disagreement.
  6. Retention. Date range kept and whether passing images were deleted.
  7. Rights. Whether customer-owned designs or client-owned inspection data are involved.

Illustrative record linking an image to its outcome

# Illustrative only — synthetic identifiers and values
image_id: img_line04_000918
part: housing_P220 (rev C)
station: aoi_station_04, recipe R-17, ring light, 12 MP
timestamp: 2026-02-11T09:42:07Z
lot: lot_7731
camera_call: reject (score 0.83)
inspector_call: defect, scratch, cosmetic
final_disposition: use-as-is (MRB_2026_0412)
defect_mask: masks/img_line04_000918.png
split_key: lot_7731   # all images from this lot stay in one split

The gap between camera_call, inspector_call and final_disposition is the reason to ask for linked records rather than reject folders.

Key pages in this cluster

GroupPageWhat it answers
FoundationsAnomaly detection vs supervised defect dataWhich labeling regime your model needs
FoundationsActive inspection by humanoidsWhy handling and viewpoint matter
FoundationsSynthetic vs real defectsWhen generated defects help
FoundationsRare defects and class imbalancePlanning for scarce defect types
Product defectsSourcing defect image datasetsThe core sourcing guide for defect imagery
Product defectsIn-line machine vision reject archivesWhat camera archives typically hold
Product defectsInspection images linked to outcomesJoining images to dispositions
Product defectsAssembly completeness verificationMissing and misplaced components
Product defectsGolden samples and reference imagesReference appearance for comparison
Product defectsNonconformance reportsQuality records as training and test data
LabelsDefect taxonomy and label schemaConsistent defect classes
LabelsDefect severity and disposition labelsSeverity and outcome fields
LabelsPixel-level defect segmentationMask annotation specification
LabelsInter-inspector agreementMeasuring label noise
LabelsRelabeling legacy defect archivesFixing old labels before use
Human and robot failuresHuman procedural mistake videosError detection from human task video
Human and robot failuresRobot manipulation failure datasetsSpecialist failure data from robots
Human and robot failuresFailure reasoning dataExplanations, causes and corrections
Human and robot failuresService-task failure examplesSpills, drops and breakage
Evaluation and rightsDefect detection evaluation setsBuilding held-out inspection tests
Evaluation and rightsLeakage in defect datasetsSame part, lot or line across splits
Evaluation and rightsDomain shift across linesWhy models degrade on new lines
Evaluation and rightsConfidentiality in defect dataDesigns, customers and suppliers

Neighboring clusters

Pick errors and package damage are warehouse-specific; start at pick errors and mispicks in the warehouse hub. Assembly verification sits close to manufacturing and assembly, equipment wear to maintenance and tool use, and open, closed, clean or dirty states to product and object data. For catalog context, see manufacturing quality and inspection records and licensing images and inspection photos.

Discuss your requirements

Name the parts or tasks, the defect or error types, how labels must be defined and how the test set must be held out. Send the requirement to SourceX: it looks for US businesses that hold suitable records, checks the data and the supplier's licensing permissions, and coordinates the license and delivery. SourceX reviews each requirement and follows up about potential sources; a request does not guarantee a match.

Tell SourceX what your evaluation set needs to cover

Sources

Frequently asked questions

What does a defect detection dataset contain, and what does it leave out?

A defect detection dataset contains images of products or parts labeled good or defective, ideally with defect type, location and final disposition. Such a dataset trains inspection and failure recognition, but it does not teach a humanoid how to handle, reorient or repair what it finds.

When is anomaly detection data needed instead of labeled defect images?

Anomaly detection fits a model to defect-free images of normal appearance, while supervised classification needs labeled defects. Real archives rarely separate cleanly, and an unsupervised setting that allows defective images in training is closer to an unsorted plant archive.

How should inspection images be split so near-duplicates do not leak into tests?

Images should be split by part serial, lot, line and date so near-duplicates never straddle training and test sets. Buyers should also ask whether a defect label came from a camera threshold, an operator flag or a final material-review disposition.

Pages in this section

Sourcing guides

Technical procurement guides

Evaluation checklists

Collection specifications

Licensing and delivery

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