In fruit detection, it is combined with various spectral techniques to evaluate the quality. The optical fiber can guide the light signal to interact with specific components on the surface or inside the fruit, and transmit the collected light signal to the analytical instrument to evaluate the maturity, quality, composition content and other indicators of the fruit. Optical fiber is mainly used for optical measurement.