Product Demo Live inspect Evaluation Pricing Book a Pilot
Anomaly detection for quality inspection

Spot defects before they leave the line.

Defecto learns what a good part looks like from photos of good parts only, then scores every new part and shows where it differs. No library of defect photos needed.

—image AUROC, best product, held-out test
—pixel AUROC for defect location
0defect photos used for training
A PCB1 sensor board from the VisA test split with a defect Held-out test part · real model output
FAIL Detected defect— Anomaly score—
VisA dataset (Amazon Science, CC BY 4.0). Heatmap and score come from the trained model; the part was never seen during training or threshold fitting.

How it works

Learn the good part. Flag everything else.

Defects are rare and varied, so collecting examples of every one is impractical. Anomaly detection turns the problem around: model normal parts precisely, and measure how far each new part strays from them.

1

Learn from good parts

A few hundred photos of good parts become a memory bank of small image patches, using features from a pretrained ResNet18.

2

Score every patch

Each patch of a new part is compared with its nearest good-part memory. Unusual patches light up the heatmap and raise the score.

3

Decide with three bands

Thresholds are fitted on a separate validation split: confident defects are rejected, uncertain parts go to a person.

PASSREVIEWFAIL

Measured, not promised

Results on held-out test parts.

Three VisA products. Training used good parts only; thresholds came from a separate validation split; every number below comes from test parts nothing was fitted on.

ProductImage AUROCPixel AUROCDefects caught at FAILGood parts rejectedDefects past REVIEW
Loading results…

Small defects on a tray of many capsules are only a few pixels wide at the 256 px model input, which is why Capsules scores lowest; a production build would tile the image or raise the resolution. Full ROC curves, confusion counts and latency are in the evaluation report.

Where it fits

Any line where “good” looks consistent.

Electronics assemblyBent pins, melted plastic, scratches and missing components on boards.
Pharma and packagingBubbles, discoloration, leaks and misshapen units across a tray.
Food gradingBurns, breakage, holes and spots on natural products that vary part to part.

See it on your own parts.

A pilot trains on photos from your station and reports escape and false-reject rates on parts the model has never seen.