Industry field guide
Machine shop inspection data for visual quality control
A visual inspection model learns more from confirmed examples than from a large folder of similar part photos.
- Sector
- Manufacturing
- 2022 NAICS
- 332710
- Practice pack
- Example and answer key (JSON)
- Updated
What this guide tests
What reference distinction is supported, and how should image views be grouped for evaluation?
See the specimen and fields · Work through the fictional records
Task and source context
A visual inspection model learns more from confirmed examples than from a large folder of similar part photos. MVTec’s published anomaly detection benchmark illustrates a research setup with normal images, anomalous images and localized defect labels. A machine shop’s original sample can complement a public benchmark by showing the visual variation on its own approved test pieces. A research benchmark establishes the task, while a buyer brief establishes a purchase opportunity. MVTec Anomaly Detection Dataset
Connect every image to a verified result
Use internally owned test coupons or other approved parts. Photograph a known-good item and controlled variants with burrs, scratches or finish differences that a reviewer can identify. Record the part family, material, imaging setup, inspection result and measurement reference. Keep a region label if a buyer needs the defect location. Include examples where harmless variation looks like a defect, such as a reflection from a change in lighting.
Split by physical item and production lot before evaluation. A burst of angles from the same part can make the test look accurate even when the model fails on a different part. A separate held-out lot also shows whether a camera, lighting or finish change alters performance.
Keep proprietary production work separate
Use parts the company is authorized to share. Review customer drawings, dimensions, process parameters, serials and supplier restrictions separately. Start with approved post-process images, outside an active machine cycle. If the buyer needs measurements or CAD files, scope those rights explicitly.
Describe the defect taxonomy and measurement method. Include which parts can appear in a limited sample and who can approve the files. Describe your dataset
Industry classifications covered
- 332710 · Machine Shops
Build a pilot sample
Group every crop and camera angle from the same physical part before splitting examples. Give reviewers the intended region and an independent reference label. Measure false positives on known-good parts before counting detections on the defect set.
Fields the reviewer needs
- Physical specimen
- Group views of the same coupon.
- Imaging condition
- Preserve the light and view change relevant to appearance.
- Region and reference label
- Connect a mark to the reviewed location and definition.
- Source authority
- Identify which test parts and images can be shared.
Use What fabricated and specialty product manufacturers can contribute to AI to turn the specimen into a brief with a defined task, source and review owner.
Fictional exercise
Keep a reflection and a reviewed surface mark distinct
Invented coupon images and reviewer records illustrate visual inspection evidence. They contain no customer designs, dimensions, process parameters or machine instructions.
| Record ID | Source | What it records |
|---|---|---|
| COUPON-A | Original image pair | Two views show the same owned practice coupon. A bright streak changes position with the light. |
| REVIEW-A | Independent practice key | The reviewer marks the changing streak as a reflection in the supplied exercise. |
| COUPON-B | Separate image pair | A marked region remains at the same specimen location under both views. |
| REVIEW-B | Independent practice key | The reviewer identifies the specified persistent surface mark on B, with its region reference. |
Question for the model. What reference distinction is supported, and how should image views be grouped for evaluation?
Show the reference answer
The supplied reviewer keys distinguish A's changing reflection from B's persistent marked region. Both views of a coupon remain related observations of the same physical item. Keep them grouped before splitting the data, rather than use one angle for training and the other as an independent specimen test. These references classify the authored exercise; they do not certify an actual manufactured part.
How to check the result
Ask for the answer, the record IDs that support it and any fact the evidence leaves unresolved. Have a reviewer compare the response against the reference before deciding whether the sample is ready to expand.
Errors to flag in this case
- Calling every bright streak a defect without its supporting review.
- Treating multiple angles of one coupon as independent held-out specimens.
Change the inputs and run it again
Introduce a newly authored coupon and different lighting, with an independently checked key. Hold out the entire item rather than one familiar angle.
Use an earlier stage, a neighboring joint or a mirrored view as the competing record. Verify the label against the actual part and inspection scope.
Track correct answers, answers using the wrong source and appropriate abstentions separately. Hold the answer key apart from the input and record which file or version would resolve each disputed case.
Check permission and scope
Use owned or approved post-process examples outside active machinery. Public benchmark references provide context and do not grant rights to include their assets in a commercial package.
Exclude sensitive product specifications, fabrication settings, customer drawings and any actual operating or qualification details.
Describe an authorized archive through Fiund’s existing-data assessment, or describe a new capture capability through the collection brief. The contributor agreement covers the terms for participation.
Sources and further reading
Resources for this workflow
Includes worksheet
What fabricated and specialty product manufacturers can contribute to AI
Work through a kit, component or inspection evidence example.
Includes worksheet
Manufacturing AI sample worksheet: visible state and matching evidence
Define the approved specimen and separate direct observations from scope claims.
Company and program reviews
Use these reviews to compare sourcing, capture or evaluation approaches. Confirm the applicable program, accepted sources and terms with the provider.
Compare the approach
Dexset review: robotics capture, samples and acceptance
Compare how task capture and annotations are specified when component state is visible.
Compare the approach
Sapien review: dataset quality review and expert checks
Compare a human review pilot for near-match parts or incomplete source evidence.
Related industry examples
Industry guide · NAICS 337110
Cabinet door and drawer reveal data for AI inspection
An installed door can look misaligned because the camera is tilted.
Industry guide · NAICS 334418
Circuit board assembly rework data for AI inspection
An assembly inspection photo can show the right board and the wrong moment.
Industry guide · NAICS 332722
Fastener manufacturing data for AI series and length records
Bolts, nuts, screws, rivets and washers form a defined Census category.