Industrial photosensor for quality control, Photosensor in pharmaceutical packaging