Waste Sorting at the Bin

Snap the item at the bin and it tells you which one it goes in.

Trigger a shot at the bin and get back what the item is made of and which of the four Chinese municipal waste streams it belongs in — one MQTT message per item, decided on the device, plus a GPIO output for a flap or a lane indicator.

Intermediate35minVision & Video AI

Four scored tiles on the reCamera Pro (RV1126B NPU, INT8) — metal, plastic, organic and residual, each with the predicted material class, its recyclable/kitchen-waste/residual category, confidence and per-frame latency

Reusable Site Templates

One item at a time in front of a fixed camera, with an answer someone acts on at once.

Community drop-off points

Community drop-off points

Sorting kiosks, food-waste rooms at the foot of a block. Photograph the item and name the bin.

Manual sorting benches

Manual sorting benches

Benches at recycling depots and transfer stations. An operator shows each item and keeps the record.

Bins with a motorised flap

Bins with a motorised flap

Office lobbies, school canteen entrances. The result drives the flap or the lane light over GPIO.

Not a fit: conveyor sorting with mechanical actuation, and street litter detection. One item per image, and this build outputs neither textile nor hazardous waste. Accuracy at a live point is lower than the dataset figure, so re-measure on site images.

How it works

A button or motion trigger starts the shot, a downward camera and a sorting host (reComputer J30 / J40 Series, or reComputer R2000 Series with the Hailo-8 option) make the call, and the result drives a flap or a lane light.

Waste sorting device composition: a button, an HTTP call or motion triggers a camera looking into the drop area; a sorting host classifies the item locally and the result leaves over MQTT to the operator system, over HTTP to a local panel and through a GPIO callback to a flap or indicator

Three things at the bin: something that fires the trigger, a camera looking down into the drop area, and one host that classifies the item and publishes the result. The classification, the four-way lookup, the contract check and the MQTT broker all sit on that host — the image stays on the device, and what crosses the network is one JSON message per item.

Drop-off Point

One classification happens per trigger, from one of three sources:

  • A button wired to the host — the usual case at a drop-off point.
  • An HTTP call — for a kiosk screen, a PLC gateway or a test script.
  • Motion in the frame — for a bin that reacts without anyone pressing anything.

Triggers arriving within 800 ms are merged into one. The camera is any USB or RTSP source looking down into the drop area, with one item filling a meaningful part of the frame.

How well it works

What you see and operate in a browser once it is running.

Live view and one-click classification

  • Live feed on the left, one click to classify
  • Result published to MQTT instantly

Every classification on the record

  • Each record has class, category bucket, confidence
  • Top3 bar chart shows model confidence

Frames kept for review

  • Frame saved with every classification
  • Review the picture against the call later
Measured results

An engineering benchmark on two public datasets, not a regulatory classification result.

What the drop-off point getsTypicalDevice
Trigger to a bin answer4.1 ms per triggerreComputer J40 Series (J4012, Orin NX 16GB)
Four-way top-1, 7417 validation images95.0% (95.1% on this device)reComputer R2000 Series (R2035-12, Hailo-8)
Material top-1, 8 classes, same images88.8% (88.9% on this device)reComputer R2000 Series (R2035-12, Hailo-8)

Read the two top-1 figures together: glass, metal and plastic all go to the recyclable bin, so the four-way figure is higher.

Both datasets show single items on clean backgrounds. Accuracy at a live drop-off point will be lower; re-measure on site images before relying on it.

The four-way table is maintained by this project, not an authority's ruling. This build outputs neither textile nor hazardous waste.

What you get out of it

Once deployed, these interfaces are the whole contract.

TypeWhereContent
MQTTport 1883, waste/<stream-id>/resultsOne JSON message per classification: material class and four-way category (English and Chinese), confidence, top-3, trigger source, inference and pipeline time, image reference, model details and taxonomy version
HTTPport 8080, /trigger /preview.mjpg /healthz /eventsFire one capture-and-classify, live view, health counters, recent results with top-3
GPIO callbackin-processThe four-way category for a flap, relay or lane light. No pin binding; the actuator switch is off by default

The image is never in the message, only a reference to where it is stored. Messages are checked before publishing, and one that fails the check is counted and dropped.

Porting It to Your Own System

The reusable unit is not "waste" — it is the chain trigger → one shot → single-item classifier → policy lookup table → MQTT event + actuator callback. Only the classifier weights and the lookup table are bound to this taxonomy; everything else carries over.

LayerWhat porting costs you
Trigger sources and debouncereuse as-is
Both runtimes (TensorRT on Orin, INT8 on Hailo-8) and model deliveryreuse as-is
Message format and the pre-publish checksreuse as-is
Policy lookup table (class → category)reuse the mechanism, edit the table
HTTP panel, preview, health counters, GPIO callbackreuse as-is
Classifier weights and class listretrain on your own images
Open-vocabulary promptsrewrite the prompts, no training run

Fits: returnable-container acceptance, material sorting at a collection kiosk, a category rule that differs by city or site.

Where this shape does not fit

  • More than one item per image. There is no detector; two items in one frame give one answer about an undefined item.
  • Conveyor sorting with mechanical actuation. Belt synchronisation, ejector timing and safety interlocks are outside the runtime.
  • A category with legal effect. The table is maintained by this project and must not be the sole basis for a charge or penalty.

How to deploy

Tell us about your site — we work out the hardware, then you connect the data and follow the steps.

Item Types

Will the list of item types change after deployment? Adding a class to the baseline classifier means retraining. The optional open-vocabulary track adds one by editing prompts instead — at the cost of a much larger model and far more compute per image.

Or compare them yourself: preset specificationsDeployment Guide · 35min
SetupRoleDeviceQty
Camera + reComputer J30 / J40 (Orin)Sorting HostreComputer J40 Series (Jetson Orin NX) / reComputer J30 Series (Jetson Orin Nano)(either one)1
CameraUSB / IP Camera1
Camera + reComputer R2000 (Hailo-8)Sorting HostreComputer Industrial R20 Series1
CameraUSB / IP Camera1
reCamera (SG2002)Camera and ClassifierreCamera 20021
reCamera ProCamera and ClassifierreCamera Pro1
Camera + reComputer RK3588Sorting HostreComputer RK3588 Series1
CameraUSB / IP Camera1
PresetCameraWhere the classifier runsRuntime
Camera + reComputer J30 / J40 (Orin)Your own USB / RTSP camerareComputer J30 (Orin Nano 8GB) or J40 (Orin NX 16GB)TensorRT FP16, engine built on the device during deployment
Camera + reComputer R2000 Series (R2035-12, Hailo-8)Your own USB / RTSP camerareComputer R2000 Series with the Hailo-8 accelerator option (R2035-12)Hailo-8, model compiled off-device and downloaded at deploy time
Camera + reComputer RK3588Your own USB / RTSP camerareComputer RK3588RK3588 NPU, INT8
reCamera (SG2002)The camera itselfOn the cameraCamera TPU, BF16
reCamera ProThe camera itselfOn the cameraCamera NPU, INT8
  • Every preset runs the same baseline classifier and four-way lookup, and classifies on the device; messages carry an image reference only.
  • The optional open-vocabulary model is offered on the Orin NX 16GB module only.
  • Difficulty is rated intermediate; budget about 35 minutes for a first deployment, longer on Orin because of the engine build.

FAQ

Yes. Capture, classification, the four-way lookup, the HTTP panel and the MQTT broker all run on the sorting host. No part of the classification path needs an outside service.

Didn't find your answer?
Contact Us
We Are Glad to Be Your Hardware Partner !
Next