Berkeley Lab has developed a first-of-its-kind AI-powered spectral sensor that identifies targets simultaneously as it captures images, embedding neural network classification directly into optical hardware to enable real-time detection without downstream computing, with applications spanning agriculture, defense, healthcare, and environmental monitoring.