Text this: Material Sensing with Spatial and Spectral Resolution Based on an Integrated Near-Infrared Spectral Sensor and a CMOS Camera