A production-ready computer vision pipeline that classifies casting parts as defective or non-defective, with a visual explanation of where the defect is using Grad-CAM.
Each part image is resized and normalized, then classified by a fine-tuned EfficientNet-B0. Grad-CAM generates a heatmap showing exactly which region of the part triggered the defect prediction, so an operator can trust and verify every decision instead of treating the model as a black box.