Smart package sorting: ML classification for an e-commerce logistics company
ScalaCode built a smart package sorting system for an e-commerce logistics company. A TensorFlow model classifies packages in real time from IoT-enabled conveyors and barcode scanners, and operators run the line from a Vue.js control interface.
An e-commerce logistics company
The client wanted faster package sorting with fewer manual errors. Packages had to be sorted automatically by destination, size and weight on its conveyor belts and scanners, on an architecture that could grow with daily volume.
What made automated sorting hard
Real-time data volume
Scanners and sensors produce a constant stream of data that had to be processed in real time.
Many package types
The system had to be flexible enough to handle a wide range of package types.
Reliability at speed
Sorting runs at high speed, so the system had to stay reliable on a fast-moving line.
Manual handling errors
Manual sorting introduced errors the client wanted to remove.
Machine learning on the sorting line
A classification model, a high-speed backend and an operator console work together with the client's conveyors and scanners.

- 01
Package classification model
A Python and TensorFlow model classifies each package in real time.
- 02
Conveyor and scanner integration
The system connects to IoT-enabled conveyor belts and barcode scanners.
- 03
High-speed backend
A Node.js backend processes the scan and sensor data, with PostgreSQL for storage.
- 04
Operator control interface
A Vue.js interface lets operators control the line and follow live operational data.
- 05
Error and anomaly alerts
The system detects errors and raises anomaly alerts for operators.
Packages classified and sorted automatically
Packages are classified and sorted without manual handling, operators watch the line through live data visualisation, and anomaly alerts flag errors as they happen. The architecture is built to scale for large sorting operations.
package classification
error and anomaly alerts
What Smart package sorting runs on
Python, TensorFlow
IoT devices, conveyor belts, barcode scanners
Vue.js
Node.js, PostgreSQL
Plan a build like Smart package sorting for your business
- 30 minutes with the ScalaCode team
- What is realistic, what it costs and how long it takes
- You decide afterwards whether to build with us



