Infrared thermometer for glass