EcoSort: Waste Classification

A waste-sorting system with the model doing the deciding: an item travels down a conveyor, a YOLOv11n model classifies it across twelve categories, and it drops into the matching bin. Built as a running, documented application rather than a notebook.

A mark for the project: the detection box it draws, around the thing it is sorting.
A mark for the project: the detection box it draws, around the thing it is sorting.
A glass bottle classified at the end of the conveyor, its bin highlighted as it drops.
A glass bottle classified at the end of the conveyor, its bin highlighted as it drops.
Twelve bins with sorted counts across cardboard, plastic, metal and glass.
Twelve bins with sorted counts across cardboard, plastic, metal and glass.
Model statistics: raw and normalized confusion matrices for the twelve classes.
Model statistics: raw and normalized confusion matrices for the twelve classes.
The stats page in full, with all four panels loaded.
The stats page in full, with all four panels loaded.
The built-in documentation page.
The built-in documentation page.

The idea

Recycling fails at the sorting step, and sorting is a classification problem with a physical outcome. EcoSort makes that loop visible: an item moves along a conveyor, the model labels it, and the corresponding bin lights up as the item drops in. The classification is not a number in a console, it is the thing that decides where the object goes.

The model

A YOLOv11n model across twelve waste categories, chosen for being small enough to run responsively behind a web app. The stats page shows both the raw and normalized confusion matrices, with the diagonal running between 0.89 and 0.99, and the off-diagonal cells left visible, because where a waste classifier confuses classes matters more than its headline accuracy.

Built to be run by someone else

A Next.js front end talks to a Django backend that holds the model and the per-bin counts. It ships with its own documentation page covering prerequisites and setup for both halves, so the project can be cloned and run rather than just looked at.

Highlights

The mark on the opening card is one I designed for this write-up. The project had no identity of its own, and a conveyor screenshot makes a poor thumbnail. The demo items are sample photos from the project's own dataset, which is also the model's training and evaluation data. That is why confidence reads so high, it is not a held-out accuracy claim.

More AI