Here is a diagram: https://www.satake-usa.com/what-is-optical-sorting.html
Bonus slow motion footage of their processing machines: https://imgur.com/gallery/IK5zKkO
I work at an AI consultancy [1] that help them use deep neural nets in these high throughput and low latency conditions. It's an interesting challenge and the performance than can be squeezed from modern hardware are indeed impressive.
Musk needs like 99.9999% accuracy at near zero latency over several hours of operation. I think Tesla currently is at maybe 99.995% from driving my car. The last 0.005% results in phantom braking etc. It's actually a very hard nut to crack and I don't expect them to achieve the full self driving in all conditions for another 10-15 years maybe. The edge cases are just too many.
I like the trash idea though (or a Q/A robot at a factory etc).