Recycla wasn't built in a day. It started as a SolidWorks model, grew through thousands of training iterations, and was validated against real waste data. Here's how we got from concept to a working prototype.
Before writing a single line of code, we designed the physical bin in SolidWorks. The goal was a compact enclosure that could house dual sorting compartments, a servo-actuated lid mechanism, and an integrated camera and sensor bay — all while remaining manufacturable on a student budget.
The physical prototype went through three major iterations before arriving at the final form factor that balances structural integrity, component accessibility, and aesthetic simplicity.
We trained a MobileNetV2 model using transfer learning from ImageNet weights, fine-tuned on a curated dataset of campus waste images across five material categories. The model was trained for 30 epochs with aggressive data augmentation to ensure robustness across lighting conditions and item orientations.
Validation accuracy closely tracks training accuracy with minimal divergence, indicating the model generalizes well without significant overfitting. The classification report shows strong F1 scores across all categories, with "other" material achieving near-perfect precision and recall.
A confusion matrix reveals where the model succeeds and where it struggles. Understanding misclassification patterns is critical for improving the training pipeline and setting appropriate confidence thresholds for real-world deployment.
These insights directly informed our confidence thresholding strategy. When the model's confidence falls below 70%, the item defaults to garbage to prevent contamination — a deliberate trade-off favoring recycling purity over capture rate.
The full Recycla codebase — training pipeline, inference engine, and hardware control — is available on GitHub.
Classification pipeline, model training scripts, GPIO control, and hardware documentation.