Classification and sorting with single-board computers