Back to Projects
Computer Vision · Responsible AI

EfficientNetB0 Waste Classification & AI-EcoSort

A dual-tier sustainability project combining a transfer learning computer vision model for automated physical waste segregation with AI-EcoSort, an accessible web assistant developed for the 1M1B IBM SkillsBuild AI for Sustainability program.

TensorFlowEfficientNetB0GradioReact 19TypeScriptVitest
View on GitHub Live Demo

01 / Overview

A dual-tier sustainability project combining a transfer learning computer vision model for automated physical waste segregation with AI-EcoSort, an accessible web assistant developed for the 1M1B IBM SkillsBuild AI for Sustainability program.

02 / The Problem

Municipal waste contamination costs millions annually. Physical recycling centers need rapid image sorting across waste types, while households need clear, honest guidance on proper disposal categories without misleading AI claims.

03 / My Solution & Architecture

Computer Vision: EfficientNetB0 backbone pre-trained on ImageNet, fine-tuned with 124x124 input resolution, Global Average Pooling, Dropout (0.2), and early stopping across 6 waste categories (cardboard, glass, metal, paper, plastic, trash). Web Assistant: React 19 + TypeScript with a deterministic rule-based knowledge engine, confidence indicators, and Vitest test coverage.

Key Engineering Decisions & Trade-Offs

EfficientNetB0 Pre-trained Backbone over Scratch Training

Compound scaling in EfficientNet achieves state-of-the-art feature representation while maintaining low parameter counts, making it ideal for rapid inference on constrained hardware.

Global Average Pooling & Dropout (0.2) Regularization

Replaced dense classification blocks with global average pooling to prevent overfitting on specific lighting and background variations.

Honest Responsible AI Architectural Separation

Strictly separated client-side image preview components from text classification rules in AI-EcoSort to eliminate false claims of on-device vision.

04 / Technologies Used

TensorFlowEfficientNetB0GradioReact 19TypeScriptVitest

Every technology in this stack was chosen for direct architectural fitness, verifiable benchmarking ability, and clean maintainability in a production or research setting.

05 / How It Works & Interactive Visualizer

Here is a breakdown of how the system functions in practice:

  • Six-class deep learning classification: cardboard, glass, metal, paper, plastic, trash.
  • Transfer learning pipeline with data augmentation and early stopping.
  • Live interactive Gradio web demonstration for image inference.
  • Deterministic rule engine in AI-EcoSort with disposal instructions.
  • Vitest automated testing suite for classification certainty.

Interactive Technical Visualizer

How to interact: Use the controls above to trigger live states, test inputs, and observe system data flow directly in your browser.

06 / Results & Verified Findings

  • 89.24% reproducible test accuracy on public benchmark dataset.
  • Zero false-claims design: Clear user disclosure on rule-based text logic vs experimental LLM integration.
  • Dual-stack portfolio proof: Demonstrates deep learning transfer learning alongside clean TypeScript client engineering.

07 / What I Learned & Direct Contributions

Key engineering responsibilities and lessons gained during this project:

  • Trained and evaluated EfficientNetB0 transfer learning model achieving 89.24% test accuracy on public benchmark data.
  • Built and deployed interactive Gradio web demonstration for real-time image inference.
  • Engineered AI-EcoSort interface with strict Responsible AI guardrails (explicitly marking text classification vs image upload preview).
  • Implemented automated test suite in Vitest verifying rule classifications and uncertainty thresholds.

08 / Future Improvements

AI-EcoSort image upload currently functions as a preview component; direct client-side on-device TF.js inference is the target architectural milestone.

Email copied to clipboard