Visual inspection of cast parts is slow and inconsistent between operators. I built a system that classifies a casting from a single image and returns a severity score and an accept or reject call, with a saliency overlay so an inspector can see what the model reacted to rather than taking the label on trust.

| Task | Binary classification, defective or acceptable |
|---|---|
| Dataset | 7,000+ labeled cast-metal images (public) |
| Backbone | ResNet18, ImageNet pretrained |
| Training | Two-stage: frozen backbone, then unfrozen final block |
| Test accuracy | 96% |
| Outputs | Class, confidence, severity score, accept/reject |
| Stack | Python · PyTorch · Streamlit |