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.
Video and sensors
Inspection
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
| Data | Supports | Does not support |
|---|---|---|
| Labeled defect images | Supervised defect classification and segmentation; inspection test sets | Handling the part to find the defect; transfer to a different line without new data |
| Defect-free (nominal) image sets | Anomaly detection fitted on normal appearance | Defect type names or severity |
| Human mistake video | Step recognition, procedural error detection, examples of recoverable errors | Robot actions or the forces involved in correcting an error |
| Robot failure logs | Failure detection and explanation; recovery planning | Failures 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
- 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.
- Class balance. Counts per defect type, and how many rare classes have fewer examples than you would need to evaluate them.
- Leakage risk. Whether images can be split by part serial, lot, line and date so near-duplicates never straddle train and test.
- Imaging metadata. Camera, optics, lighting and recipe per image, and when any of them changed.
- Label agreement. Whether a double-labeled sample exists to estimate inspector disagreement.
- Retention. Date range kept and whether passing images were deleted.
- 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
At a glance
Key pages in this cluster
| Group | Page | What it answers |
|---|---|---|
| Foundations | Anomaly detection vs supervised defect data | Which labeling regime your model needs |
| Foundations | Active inspection by humanoids | Why handling and viewpoint matter |
| Foundations | Synthetic vs real defects | When generated defects help |
| Foundations | Rare defects and class imbalance | Planning for scarce defect types |
| Product defects | Sourcing defect image datasets | The core sourcing guide for defect imagery |
| Product defects | In-line machine vision reject archives | What camera archives typically hold |
| Product defects | Inspection images linked to outcomes | Joining images to dispositions |
| Product defects | Assembly completeness verification | Missing and misplaced components |
| Product defects | Golden samples and reference images | Reference appearance for comparison |
| Product defects | Nonconformance reports | Quality records as training and test data |
| Labels | Defect taxonomy and label schema | Consistent defect classes |
| Labels | Defect severity and disposition labels | Severity and outcome fields |
| Labels | Pixel-level defect segmentation | Mask annotation specification |
| Labels | Inter-inspector agreement | Measuring label noise |
| Labels | Relabeling legacy defect archives | Fixing old labels before use |
| Human and robot failures | Human procedural mistake videos | Error detection from human task video |
| Human and robot failures | Robot manipulation failure datasets | Specialist failure data from robots |
| Human and robot failures | Failure reasoning data | Explanations, causes and corrections |
| Human and robot failures | Service-task failure examples | Spills, drops and breakage |
| Evaluation and rights | Defect detection evaluation sets | Building held-out inspection tests |
| Evaluation and rights | Leakage in defect datasets | Same part, lot or line across splits |
| Evaluation and rights | Domain shift across lines | Why models degrade on new lines |
| Evaluation and rights | Confidentiality in defect data | Designs, 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 businesses in the U.S., Canada, the EU, the UK, Australia, New Zealand, India, Singapore, South Africa, Latin America, the UAE and Saudi Arabia 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.
Sources
- The MVTec Anomaly Detection Dataset — defect-free training, pixel ground truth and non-commercial license.
- Beyond Dents and Scratches: Logical Constraints in Unsupervised Anomaly Detection and Localization — structural vs logical anomalies.
- SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentation — VisA normal and anomalous image counts.
- Real-IAD: A Real-World Multi-View Dataset for Benchmarking Versatile Industrial Anomaly Detection — defective images present in training data.
- Towards Total Recall in Industrial Anomaly Detection — anomaly detection fitted on nominal images only.
- Assembly101: A Large-Scale Multi-View Video Dataset for Understanding Procedural Activities — unscripted assembly with mistakes.
- IndustReal: A Dataset for Procedure Step Recognition Handling Execution Errors in Egocentric Videos — errors concentrated in evaluation splits.
- REFLECT: Summarizing Robot Experiences for Failure Explanation and Correction — robot failure explanation and the RoboFail dataset.
- AHA: A Vision-Language-Model for Detecting and Reasoning Over Failures in Robotic Manipulation — simulated failure generation.
- RoboMIND: Benchmark on Multi-embodiment Intelligence Normative Data for Robot Manipulation — real-world failure demonstrations with causes.
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
- Sourcing Defect Image Datasets for Visual Inspection
How to buy defect image data for inspection models: supplier types, what to specify, label types, leakage-safe splits, acceptance checks and confidentiality.
- Inspection Images Linked to Dispositions and Outcomes
How to source inspection images joined to machine calls, inspector calls and final dispositions: join keys, label meaning, join audits and acceptance checks.
- Assembly Completeness Verification Images
Sourcing images of assemblies checked against their intended configuration: missing, wrong-variant and misoriented parts, reference data, suppliers and limits.
- Human Procedural Mistake Videos for Error Detection
Sourcing video of human procedural mistakes: error types, natural vs staged errors, labels, suppliers, consent, and why it cannot teach a robot recovery.
- In-Line Machine Vision Reject Archives
What in-line machine vision and AOI image archives hold, how storage policy and false rejects shape them, and what to check on fidelity, export and rights.
- Robot Manipulation Failure Datasets: Sourcing Guide
How to source robot manipulation failure data: published sets, what episodes must contain, labeling failure causes, specialist supply routes and questions to ask.
- Nonconformance Reports as Training and Evaluation Data
How to source and evaluate nonconformance reports (NCRs) for defect reasoning: fields, redaction, image linkage, text quality and what NCRs cannot teach a robot.
- Golden Samples and Reference Images for Inspection
What golden sample and known-good reference images are, how anomaly methods use them, how to source and audit them, and why a few references never cover real variation.
- Steel and Metal Surface Defect Data Sourcing Guide
Sourcing steel and metal surface defect images: public benchmarks (NEU, KolektorSDD2, MPDD), what they cover, licensing limits, and what to ask private suppliers.
- Weld Inspection Data: Images, X-ray and Records
Sourcing weld inspection data: visual and radiographic images, NDT reports, what GDXray covers, how to link images to dispositions, and what weld data cannot support.
- PCB and Solder Joint Inspection Data Guide
Sourcing PCB and solder joint inspection data: public sets (DeepPCB, VisA), IPC-A-610 classes as label context, AOI archives, rights and questions for suppliers.
- Cable Harness and Connector Inspection Data Guide
Sourcing wire harness and connector inspection images: crimp, terminal and routing defects, IPC/WHMA-A-620 context, label design, rights and questions for suppliers.
- Packaging and Seal Defect Data Sourcing Guide
Sourcing packaging and seal defect images from production lines: reject archives, seal and closure defect types, labeling, rights and questions to ask line owners.
- Food Quality Grading Images: Sourcing and Evaluation
Sourcing food and produce grading images from packhouses and processors: grade standards as labels, seasonal variation, sorter archives, rights and supplier questions.
- Shipping Package Damage Images: Sourcing Guide
Sourcing images of damaged parcels and cartons from 3PLs and carriers: damage types, handoff capture points, linking images to claims, rights and supplier questions.
- Manual Inspection Procedure Video: How Inspectors Handle Parts
How to source video of human inspectors handling and viewing parts: viewpoints, capture plans, labels and limits for inspection-behavior and humanoid-inspection research.
- Equipment Wear and Damage Images from Maintenance Inspections
How to source equipment wear and damage photos from maintenance inspections: what they show, how to link them to work orders, rights questions and limits.
- Inspection Report Text Paired With Images
How to source inspection reports paired with images: what narratives contain, how to link findings to photos, redaction and rights questions, and limits.
- Service-Task Failure Examples: Spills, Drops and Breakage
How to source video and images of service-task failures such as spills, dropped items and breakage: supplier types, capture options, labels, consent and limits.
- Environmental Hazard Images: Spills, Obstructions and Damage
Sourcing guide for facility hazard images such as floor spills, blocked aisles and damaged fixtures: supplier types, labels, staged capture, consent and limits.
- Vehicle Body Damage Images
Sourcing vehicle body damage images for inspection models: rental-fleet and body-shop archives, label needs, privacy checks, and questions that expose weak data.
- Returned Item Condition Grading Images
How to source returned-item inspection images with condition grades: what returns processors hold, how grades differ by seller, privacy checks, and acceptance tests.
- Near-Miss and Incident Reports as Hazard Data
How near-miss and incident reports can serve as hazard-reasoning text for embodied AI, what redaction they need, their confidentiality risks, and supplier questions.
- Warranty Claims and Field Failure Data
Sourcing warranty claim and field failure records for failure-reasoning and inspection AI: fields to request, customer-data risks, quality-system context, and questions.
- Third-Party Inspection Firms as Data Suppliers
Inspection and testing firms hold broad imagery and findings, but clients usually own the data. Learn what to ask, what permissions apply, and what firms can license.
- Corrective Action Records (CAPA and 8D) as Data
How quality-team CAPA and 8D reports can serve as root-cause and defect-reasoning text for embodied AI: fields, linkage to images, redaction burden, and limits.
- Multi-View Inspection Imagery: Sourcing and Splits
How to source multi-angle inspection images of the same part: view metadata, per-view versus per-unit labels, leakage-safe splits and questions for suppliers.
- X-Ray and CT Inspection Images: Sourcing NDT Data
What to ask for when sourcing X-ray and CT inspection images from foundries and NDT providers: labels, acceptance context, formats, rights and limits.
- Painted and Coated Surface Defect Data: Sourcing Guide
Sourcing paint and coating defect images from finishing lines and auto body shops: gloss and lighting issues, defect classes, repair links, rights, questions.
- Textile and Fabric Defect Data: Sourcing From Mills
Sourcing fabric and textile defect images from mills and apparel makers: roll-position labels, weave versus print issues, grading links, rights, questions.
- Casting and Molding Defect Data: Sourcing Guide
Sourcing casting and injection-molding defect images: surface and internal defects, cavity and shot records, tool-level splits, rights and supplier questions.
- Label and Print Quality Inspection Data: Sourcing Guide
Sourcing label, print and code inspection images with OCR-aware labels: expected text, legibility grades, placement faults, artwork rights, supplier questions.
- Glass and Transparent Part Defect Data: Sourcing Guide
Sourcing glass and clear-plastic defect images: backlight and dark-field imaging, defect classes, lighting-mode labels, rights and supplier questions.
- Building and Infrastructure Defect Images: Sourcing Guide
Sourcing concrete crack, corrosion and structural damage images from inspection firms and property operators: field conditions, scale, rights, questions.
- FMEA Failure Mode Libraries: Sourcing Structured Data
How to source FMEA records as structured failure knowledge: fields, rating scales, parsing and redaction, links to defect images, rights and supplier questions.
- Dimensional Inspection Records: CMM and Gauge Data
Sourcing CMM, gauge and metrology records as structured measurements: nominal and tolerance context, measurement caveats, image links, rights, questions.
- Solar and Battery Cell Defect Data: Sourcing Guide
Sourcing electroluminescence and battery-cell inspection images from cell and module makers: imaging modes, labels, grading, splits, rights, questions.
- Pre-Use and Pre-Delivery Inspection Checklists With Photos
How to source equipment inspection checklists paired with photos from fleets, rental companies and dealers, and what the pairing can and cannot teach an embodied AI.
- Foreign Object and Contamination Detection Data
How to source foreign object and contamination detection images, including X-ray, from food and aerospace manufacturers, and what such data cannot teach a robot.
- Handling-Induced Damage Examples for Robot Training
How to source examples of damage caused by handling, such as grasp marks and scratches, from manufacturers and 3PLs, and why images alone do not teach gentle handling.
- 3D Surface Inspection Data: Point Clouds and Profilometry
How to source 3D surface inspection data, including point clouds and laser profiles, what labels they need, and why they do not give robots manipulation skills.
- Line-Scan and Continuous Web Inspection Data
How to source line-scan web inspection data from paper, film, metal and textile producers: long images, sparse defects, tiling, and what robots cannot learn from it.
- Physical Defect Samples for Re-Imaging
Why buyers purchase defective parts and reference samples to image on their own rig, how to catalog them, and what physical samples cannot give an embodied AI team.
- Fill Level and Closure Inspection Data
How to source fill-level and cap or closure inspection images from beverage, food and pharma packagers, what to label, and why the data does not teach robot handling.
Technical procurement guides
- Rare Defects and Class Imbalance in Inspection Data
Why rare defect classes limit inspection training and testing, how to count defective parts, and when anomaly detection, few labels or synthetic defects fit.
- Anomaly Detection vs Supervised Defect Data: What to Buy
Anomaly detection trains on normal images; supervised defect classification needs labeled defects. Compare data needs, labels, evaluation and what to specify.
- Active Visual Inspection: Why Handling and Viewpoint Matter
A humanoid that inspects must pick up, turn and re-view parts. See why fixed-camera defect images fall short and what handling and viewpoint data buyers need.
- Domain Shift Across Lines, Plants and Products in Inspection
Why inspection models trained on one line underperform on another, how benchmarks expose it, and what to require from suppliers when you buy defect data.
- Relabeling Legacy Defect Archives: Scope and Method
How to decide whether and how to relabel an old defect image archive: triage, pilot, label schema, mixed supervision, gold sets, audits and what relabeling cannot fix.
- Synthetic Defects vs Real Defects: Buy or Generate?
When synthetic defect generation is enough and when real defect images are needed: training versus evaluation, rare classes, and what published anomaly work reports.
- Leakage in Defect Datasets: Same Part, Lot and Line
How train-test leakage enters defect datasets through the same part, lot, line, camera or duplicate frame, and how to specify splits and checks that expose it.
- Acceptance Standards as Label Definitions
How inspection acceptance standards such as IPC classes and ISO AQL sampling define defect labels, what to pin down, and why the standards text needs a license check.
- AQL Sampling Context for Inspection Datasets
Why inspection archives from plants that use sampling plans cover only some units, how lot decisions differ from image labels, and what to ask manufacturers.
Evaluation checklists
- Building Defect Detection Evaluation Sets
A checklist for defect detection evaluation sets: hold-out axes, independent labels, coverage, imaging conditions, per-class reporting, custody and licensing.
- Inter-Inspector Agreement and Label Noise in Defect Data
A checklist for judging label noise in defect datasets: measure inspector agreement, find systematic disagreement, and set accuracy ceilings before you buy.
Collection specifications
- Defect Taxonomies and Label Schemas for Inspection Data
How to design a defect taxonomy and label schema for inspection datasets: class hierarchy, severity, location, acceptance linkage, edge cases and acceptance tests.
- Pixel-Level Defect Segmentation Annotation Spec
A specification for pixel-level defect masks: label classes, boundary rules, QA checks, cost trade-offs and when image-level or weak labels are enough.
- Inspection Image Metadata: Lighting, Optics, Capture
A metadata specification for inspection images covering lighting, optics, camera settings, fixtures and calibration, so buyers can judge transfer to their line.
- Failure Reasoning Data: Explanations, Causes and Corrections
Specify failure-reasoning data for embodied AI: what to record, how to label causes and corrections, schema fields, acceptance tests and what text alone cannot do.
- Defect Severity and Disposition Labels: A Specification
Specify defect severity and disposition labels separately from defect type: field definitions, class-based criteria, AQL context, acceptance tests and limits.
- Borderline Samples: Collecting Near-Threshold Defect Examples
Specify a collection of near-threshold defect samples: selection rules, measurement, multi-rater labels, imaging controls and acceptance tests for the decision boundary.
- Failure Taxonomies for Embodied Tasks
A specification for labeling robot and task failures: phases, modes, causes, severity and recovery, with an illustrative schema, acceptance tests and published datasets.
Licensing and delivery
- Confidentiality in Defect Data: Designs, Customers, Suppliers
Licensing diligence for defect images and records that reveal product designs, customer relationships and supplier details: questions, clause topics and delivery options.
- Defect Annotation Formats and Delivery: Masks, Boxes, Polygons
Choosing defect annotation formats for delivery: boxes, polygons, masks, COCO-style JSON, class maps, manifests, splits and annotation ownership questions.
Related pages
- Sourcing Defect Image Datasets for Visual Inspection
How to buy defect image data for inspection models: supplier types, what to specify, label types, leakage-safe splits, acceptance checks and confidentiality.
- Anomaly Detection vs Supervised Defect Data: What to Buy
Anomaly detection trains on normal images; supervised defect classification needs labeled defects. Compare data needs, labels, evaluation and what to specify.
- Robot Manipulation Failure Datasets: Sourcing Guide
How to source robot manipulation failure data: published sets, what episodes must contain, labeling failure causes, specialist supply routes and questions to ask.
- Human Procedural Mistake Videos for Error Detection
Sourcing video of human procedural mistakes: error types, natural vs staged errors, labels, suppliers, consent, and why it cannot teach a robot recovery.
- Pick Errors, Mispicks and Multi-Picks
Mispick detection dataset guide: wrong item, short pick and multi-pick examples from fulfillment records, how errors are detected, label bias and what to request.
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