Industrial proximity sensor applications, Proximity sensor for conveyor systems, Photosensor for packaging