Since the light returned by the light-emitting diodes irradiated on the surface of objects with different gray levels is different, the photoresistor receives the returned light, and the resistance value of the photoresistor is different according to the intensity of the light, so as to realize the gray value test. Sensing