Text this: Near-infrared-detectable artificial synapses for advanced neuromorphic vision applications