Detecting, e.g. by using light barriers using multiple transmitters or receivers using reflectors
Currently, there are no issues on this topic. Create one.