Describir: Optimization of Optical Inspections Using Spectral Analysis