This algorithm uses your webcam to work out if you're happy or sad

This algorithm uses your webcam to work out if you're happy or sad

Computer scientists in Korea and Vietnam have teamed up to develop an algorithm that can tell if you're happy or sad using images from your computer's webcam.

Hyung-Il Choi of the School of Media at Soongsil University in Seoul, Korea, working with Nhan Thi Cao and An Hoa Ton-That of Vietnam National University in Ho Chi Minh City, built the algorithm with the objective of allowing video games to read and react to a player's emotions.

The system uses mathematical processing to analyse several indicators - eyebrow position, openness of the eyes, mouth shape and a handful of other factors. It can gather data from even low-resolution images - just 48 pixels square.

99% accuracy

It then correlates the data it receives with a list of human emotions - anger, disgust, fear, joy, sadness, surprise and a neutral expression. In tests on two sets of sample facial images, the researchers claim it was able to achieve 96.3% and 99.85% accuracy respectively.

The team says that the resulting data could be useful in video games - transferring the player's emotions to their avatar, for example, or activating appropriate actions to communicate with other players in different scenarios.

"When facial expressions recognition of players is applied in an intelligent game system, the experience can become more interactive, vivid and attractive," the team said, adding that the same system could be used to track emotional expressions of voice actors working on animated movies for more realistic animation.

The details of the system were published in the International Journal of Computational Vision and Robotics.

Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Webcams
Image of Link 360 2C webcam
On a tight budget for a high-quality webcam? Look no further than the Insta Link 360 webcam series - now discounted in Amazon's spring sale
A deal image featuring some webcams currently on sale at Amazon
I've picked the best Black Friday webcam deals that'll help turn you into a streaming star
Image of Insta360 Link deal
Content creation just got cheaper - the Insta360 Link 4K webcam is now a huge 40% off for Black Friday
Logitech C920x HD Pro Webcam on purple background with price cut sign
Need a cheap webcam for online classes? Look no further, our number one favorite webcam is on sale right now
HP 960 4K Streaming Webcam Listing Image
HP 960 4K Streaming Webcam: premium results for a premium price
HP 325 FHD webcam
HP 325 FHD webcam: A budget-friendly choice with solid image quality
Latest in News
Open AI
OpenAI live stream - could we see a major ChatGPT upgrade?
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
NetSuite EVP Evan Goldberg at SuiteConnect London 2025
"It's our job to deliver constant innovation” - NetSuite head on why it wants to be the operating system for your whole business
Monster Hunter Wilds
Monster Hunter Wilds Title Update 1 launches in early April, adding new monsters and some of the best-looking armor sets I need to add to my collection