Text this: Anti-Interference Spectral Confocal Sensors Based on Line Spot