Documents obtained by civil liberties group Big Brother Watch show the Government-owned company launched a pilot scheme at major stations - including Glasgow - in 2022 which was able to assess whether someone was happy, sad or angry.
The system did send images for analysis by Amazon Rekognition software to record demographic details, such as a passenger's gender and age range, but that part of the programme has ended. Jake Hurfurt, head of research and investigations at Big Brother Watch, said: "Network Rail had no right to deploy discredited emotion recognition technology against unwitting commuters at some of Britain's biggest stations, and I have submitted a complaint to the Information Commissioner about this trial.