Course: Computer Vision Group: Team 6
| No. | Name | Student ID | Role & Responsibilities |
|---|---|---|---|
| 1 | Bui Quang Chien (Team Lead) | 23001837 | Literature review; image preprocessing (Otsu thresholding, morphological operations); train and evaluate classical ML models (SVM, Random Forest, KNN); compile report (LaTeX). |
| 2 | Nguyen Anh Duc | 23001865 | Develop the Laravel web application; implement frontend UI and backend-to-Python inference integration; write deployment and experiment scripts. |
| 3 | Nguyen Le Ngoc Bao | 23001832 | Research and train deep learning models (MobileNetV2, ResNet50, EfficientNetB0); apply transfer learning and fine-tuning; prepare presentation slides. |
- Dataset used: TrashNet (Gary Thung & Mindy Yang, 2016)
- Description: ~2,390 images divided into 5 classes: Glass, Paper, Cardboard, Plastic, Metal.
- Original dataset: https://github.com/garythung/trashnet
Example project layout:
/
├── BuiQuangChien_6_report.pdf
├── BuiQuangChien_6_presentation.pdf
├── BuiQuangChien_6_readme.md # this file
├── app/
│ └── Waste-classification-main/
│ └── rac-ai/
│ ├── app/
│ ├── resources/views/
│ ├── routes/
│ ├── scripts/
│ │ └── predict_waste.py
│ └── storage/app/model/
└── figures/
The web app calls Python inference scripts from the PHP backend. Steps to run locally:
- Install Python dependencies:
pip install numpy opencv-python scikit-image scikit-learn- Prepare model files
Place trained model artifacts into app/Waste-classification-main/rac-ai/storage/app/model/ (e.g. best_ml_model.pkl, best_ml_scaler.pkl).
- Configure and run the Laravel backend
cd app/Waste-classification-main/rac-ai/
composer install
cp .env.example .env # Windows: copy .env.example .env
php artisan key:generate
php artisan migrate
php artisan storage:link
php artisan serve- Use the application
- Open your browser at
http://localhost:8000. - Upload a test image and the backend will run preprocessing + inference and return the predicted label with confidence.