"You don't know whether the ticket inspector on your train was gay"
Neither does this AI. But i'd wager mannerisms, behaviour, dress sense, even speech and choice of words are all better indicators than a photo. An AI to analyse sexuality from a photograph would only ever be abused by repressive nations. Is there another use for it that isn't abusive or dangerous?