Cup sealing film photoelectric sensor