Text this: Infrared metrology using visible light