Text this: Mathematical Model and Synthetic Data Generation for Infra-Red Sensors