The software, called Facet, uses a simple digital camera to determine whether a person is feeling joy, sadness, surprise, anger, fear, disgust, contempt or any combination of the seven emotions.
"There's often a disconnect between what people say and what people do and what people think," said Marian Bartlett, co-founder and lead scientist at Emotient, a California-based company.
The software can reconnect those dots by accurately reading the emotions registering on a person's face in a single photograph or video frame, 'LiveScience' reported.
Using Facet on a video sequence produces even more interesting results, because the software can track the fluctuations and strengths of emotion over time, and even capture "microexpressions," or little flickers of emotion that pass over people's faces before they can control themselves or are even aware they have registered an emotion.
"Even when somebody wants to keep a neutral face, you get microexpressions," Bartlett said.
That is because the human body has two different motor systems for controlling facial muscles, and the spontaneous one is slightly faster than the primary motor system, which controls deliberate motion.
That means microexpressions will slip out - and as long as they appear on a single frame of video footage, Facet can recognise them, the company claims.
The software can also pick up on other subtle facial signs that a human might miss. In the case of "smiling, but not with your eyes," Bartlett said that when people smile sincerely, a muscle called the orbicularis oculi, also known as the "crow's feet muscle," contracts, creating the wrinkles at the eyes' edge that are sometimes called "crow's feet."
Bartlett said Emotient is now working on, among other things, the software's potential for identifying and treating depression.
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.