This project uses a Convolutional Neural Network (CNN) to classify industrial surface defects in steel images.
✅ Dataset:
NEU Surface Defect Database
Classes include:
- Crazing
- Inclusion
- Patches
- Pitted Surface
- Rolled-in Scale
- Scratches
✅ How to Run:
- Download the NEU dataset and place it in your project folder.
- Install dependencies:
- Run the training script or notebook:
- The trained model will be saved as
surface_defect_model.h5.
✅ Model Summary:
- Input size: 150x150 RGB images
- 2 Convolutional + MaxPooling layers
- Dense layers with dropout
- Softmax output over 6 defect classes
✅ Result: Achieves good classification accuracy on validation data.
Feel free to use or improve this project!