A computer program can tell if someone is gay or not with a high level of accuracy by looking at a photograph, a study claims. The artificial intelligence system can infer someone's sexuality by scanning a photograph of a man or woman with up to 91 per cent accuracy. But critics say that the software could be used to 'out' men and women currently in the closet.