New software will be able to look at you and determine your level of pain

Before you go, we thought you'd like these...
Software Can Read Pain By Analyzing Human Expressions

Science fiction is becoming simply science -- robots may soon be able to know exactly how you're feeling.

Researchers from UC San Diego School of Medicine have developed software that can detect pain levels by looking at facial expressions. According to an article, published in the journal "Pediatrics," researchers came up with a computer vision algorithm that recognizes levels of un-comfort by analyzing the expressions of the brow, eyes, lips, and jaw. It seems like the song, "If You're Happy and You Know It" has a whole new meaning!

Below is example of a child's facial expressions of pain from the study, illustrating many of the core facial actions observed in pain.


As Engadget reports, the technology could be used in the future at hospitals - where nurses could tell if a patient needs more pain medication after surgery.

Click through below to see some great wearable technology ideas!

16 PHOTOS
Wearable technology
See Gallery
New software will be able to look at you and determine your level of pain
Eric Soriano listens to music with a pair of Beats headphones at a Best Buy store, Thursday, May 29, 2014, in Orlando, Fla. On Wednesday, May 28, 2014, Apple announced it acquired Beats Electronics, founded by rapper Dr. Dre and Jimmy Iovine. (AP Photo/John Raoux)
FILE - This Feb. 10, 2013 file photo shows music industry entrepreneur Jimmy Iovine, left, and hip-hop mogul Dr. Dre at a Grammy Party in Los Angeles. It’s as if anything Iovine and Dre touches turns to gold: The dynamic duo marked epic-level success when they introduced Eminem to the music world 15 years ago, and their lucrative Beats by Dre business reached blockbuster heights following reports on Thursday, May 8, 2014, that Apple plans to by the headphone’s parent company, Beats Electronics, for $3.2 billion. (Photo by Todd Williamson/Invision/AP, file)
Hisao Tanaka, president and chief executive officer of Toshiba Corp., wears the company's wearable display device as he speaks during a news conference in Tokyo, Japan, on Thursday, May 22, 2014. Toshiba targets 450 billion yen ($4.4 billion) of operation profit for the fiscal 2016. Photographer: Tomohiro Ohsumi/Bloomberg via Getty Images
People recording with GoPro on stick in the Color Run by Desigual. Green color powder. Barcelona Catalonia May 18th 2014. Wearable technology.
Models display a wireless mini-computers and other high tech gadgets Wednesday June 14, 2000 during the "Brave New Unwired World" fashion show at Bravo! located in downtown Minneapolis. US Bancorp Piper Jaffray teamed up with Charmed Technology to give investors a sneak peak at the futuristic wearable and wireless gadgets that will allow people to accesss the World Wide Web anywhere anytime. (AP Photo/Dawn Villella)
Pebble Smartwatch
Woman wearing Fitbit and holding weights
Google glass
** COMMERCIAL IMAGE ** In this photograph taken by AP Images for Best Buy, Dr. Dre, left, and Sean "Diddy" Combs, right, launch a new line of Beats by Dr. Dre headphones from Monster, diddybeats, at Best Buy in New York, Wednesday, May 26, 2010. (David Goldman/AP Images for Best Buy)
Sunglasses made to fit Google Glass are displayed on a computer screen in Tiskilwa, Illinois, U.S., on Tuesday, April 15, 2014. Beginning at 9 a.m. ET today, Google began a one-day sale for its wearable computing device, Glass, for $1,500 plus tax. The sale is an expansion of the Google Glass Explorer program, started in 2012. Photographer: Daniel Acker/Bloomberg via Getty Images
An Indian model showcases the new Samsung 'Galaxy S5' smartphone during a fashion show held as part of a consumer event in Bangalore on April 10, 2014. The phone along with its wearable 'Gear 2' will be available on sale across India from April 11, works on a firstime, True OctaCore Proccesor. AFP PHOTO/Manjunath KIRAN (Photo credit should read Manjunath Kiran/AFP/Getty Images)
A Narrative Clip life-logging device is worn on a shirt collar Wednesday, April 2, 2014 in Atlanta. The small, wearable camera takes a photo automatically every 30 seconds. (AP Photo/Ron Harris)
A dog wears a Narrative Clip life-logging device on Wednesday, April 2, 2014 in Decatur, Ga. The small, wearable camera takes a photo automatically every 30 seconds. (AP Photo/Ron Harris)
FILE - In this Aug. 17, 2013 photo, Seattle Seahawks' Richard Sherman wears Beats headphones before a preseason NFL football game against the Denver Broncos, in Seattle. Apple's $3 billion purchase of Beats Electronics, by far the company's largest acquisition, is at least in part recognition that Beats founders Dr. Dre and Jimmy Iovine might be able to help Apple incorporate more style and flair into its premium technology gadgets —especially a coming wave of wearable devices. (AP Photo/John Froschauer, File)
Singer Lady Gaga, poses for pictures at a press conference announcing, Heartbeats by Lady Gaga, the latest addition to the Beats by Dr. Dre family of headphones from Monster Cable, in New York, on Wednesday, Sept. 30, 2009. (AP Photo/Peter Kramer)
of
SEE ALL
BACK TO SLIDE
SHOW CAPTION +
HIDE CAPTION

More on AOL.com:
This surprise birthday party was 100 years in the works
Amal Clooney is BFF with George's longtime costar Julia Roberts
These female stars changed their views on feminism once they understood it better
Read Full Story

People are Reading