The study, which was conducted by researchers Michal Kosinski and Yilun Wang, analyzed more than 35,000 facial images posted on a US dating website.
During the research, Artificial Intelligence (AI) "could correctly infer between gay and straight men 81 percent of the time, and 74 percent of the time for women.
Human judges managed to correctly identify sexual orientation only 61 percent of the time in men, and 54 percent of the time in women.
Kosinski and Wang said in the study that gay men and women typically had "gender-atypical" features, expressions and "grooming styles", something that actually means that the gay men look more feminine that straight men, having narrower jaws, longer noses, and larger foreheads.
In addition, the two scientists said that their study confirms a theory that sexual orientation is something that is influenced by specific hormones before a person's birth.