This project builds an image classification system to classify waste into three categories: Plastic, Paper, and Organic. It compares traditional machine learning and deep learning approaches.
- SEE CHWAN KAI (242UT2449P)
- KHO WEI CONG (242UT2449Z)
- TEO JING AN (242UT24490)
- Kerk Yi (1211203133)
- Feature extraction using HOG
- Classification using SVM
- Tested with and without preprocessing
- Pretrained on ImageNet
- Transfer learning with frozen base layers
- Pretrained CNN model
- Custom classification head
- Input folder:
/content/drive/MyDrive/Dataset - Classes:
- Plastic
- Paper
- Organic
- Train: 70%
- Validation: 15%
- Test: 15%
Output structure:
Dataset_Split/
├── train/
├── val/
└── test/
- CLAHE
- Gaussian Blur
- Sharpening
- Normalization (0–1)
- ImageNet preprocessing
- Accuracy
- Precision
- Recall
- F1-Score
- Deep learning models (ResNet50, VGG16) outperform HOG + SVM
- Preprocessing improves traditional model performance
- Transfer learning provides strong classification accuracy
pip install numpy pandas matplotlib opencv-python tensorflow scikit-learn scikit-imagePlace dataset in:
/content/drive/MyDrive/Dataset
jupyter notebookOpen the notebook and run all cells.
- Transfer learning models perform best
- Preprocessing is important for traditional methods
- Deep learning models are more robust
- Add more waste categories
- Apply data augmentation
- Fine-tune pretrained models
- Use advanced architectures like EfficientNet
This project shows that deep learning models significantly outperform traditional methods in image classification tasks, especially when using transfer learning.