Spectral inspection of metal materials is mainly used to detect the elemental composition in metal materials. It has the advantages of fast, accurate, non-destructive, and comprehensive testing, and is widely used in industries such as metal manufacturing, aerospace, automotive industry, electronics, chemical industry, medicine, etc.