Forget surgery: make your face prettier through computer graphics

16 06 2008

By Christian Laforte

Is beauty is in the eye of the beholder? Or is this just wishful thinking?

Psychologists have long known that infants are more attracted to attractive faces. They stare at them longer. Evidences are strong that humans are instinctively drawn to smooth skin and symmetric faces.

So what do you do if you’re not as pretty as you’d wish? Exercising, creams and plastic surgery only produce temporary results and take effort and money. Instead, I recommend a long-term solution: change the evidence, so you can brag about how you look to your virtual friends, or you can lament how beautiful you looked ten years ago. What if you could, in one click, make pictures of yourself, your family and your friends look like supermodels?

But isn’t this already possible? If you have money, time and talent at your disposal, you can hire good make-up and Photoshop artists to have a beautiful portrait:

Photoshop touch-up from Anvari.org

Unfortunately, ugly people earn less than pretty people. So people like me who need this most can’t afford it. ;-)

Fortunately, computer graphics researchers are working on this problem. Tommer Leyvand and his colleagues have invented a new technique, Beautification, to enhance the aesthetic appeal of human faces, using a combination of machine learning and computer graphics algorithms.

Data-driven enhancement of facial attractiveness
Tommer Leyvand, Daniel Cohen-Or, Gideon Dror (Tel Aviv University), Dani Lischinski (The Hebrew University)

As noted by the authors, the applications are obvious and numerous. They include motion picture special effects, advertising, dating services and creating prettier avatars for virtual worlds. They also mention the interesting idea that every shapes (e.g. the front of a car) could be made more beautiful by making it look more like a pretty human face.

Their algorithm produces very cool results:

Before beautification:

… and after:

Still, don’t get excited too fast. Their approach is promising but there are still lots of limitations.

The algorithm uses pictures of faces, annotated with beauty scores. The faces are carefully taken, similarly to passport photographs, so the algorithms can operate in 2D. So it will take more research before they can apply their beautification to any of your old pictures, or before they can leverage the accumulated wisdom from the very scientific Hot Or Not web site.

Some of the “beautified” images also end up looking creepy. I might be wrong but I think that some of the eyes end up with different sizes of iris and pupils, something humans are very sensitive to. (Dilated pupils are a sign of sexual attraction.)

The approach is only demonstrated on Caucasian, adult people. The authors suggest that training the algorithm on populations of different races might help, but it’s still not clear how the algorithm could be extended to very diverse populations. I think more research would be necessary to deal with my daughter, a half-Japanese, half-Caucasian baby.

The algorithm focused on the geometric (i.e. shape) of the face. It doesn’t attempt to smooth out blemishes or eliminate acne. Maybe this could be fixed through other computer graphics techniques, e.g. bilateral filtering. Click on the following image to see what a difference bilateral filtering can make:

To come back to the beautification algorithm, instead of trying to make the face look more similar to a given pattern, I think a better approach would be more subtle: focus on correcting obvious asymetries, combined with the bilateral filter.

PS: There are other techniques out there to make faces pretty.

This approach reportedly averages faces, then exagerates the feminity: Unfortunately I couldn’t find any screenshot.

Do you know of other cool techniques to make faces prettier? Or can you think of unusual applications or markets that could benefit from this kind of technology? If so, let us know! We’d love to have an excuse to experiment with these algorithms… to make our faces the world a prettier place.

[digg=http://digg.com/programming/The_Beauty_Algorithm_Can_Computers_Make_You_Pretty]

Share/Save/Bookmark

Subscribe to RSS feed!


Actions

Informations

5 responses to “Forget surgery: make your face prettier through computer graphics”

18 06 2008
giancarlof (03:43:48) :

HI Christian, you may deliver an online service to make up ugly software developers as me, I’ll your customer N 1!

18 06 2008
pebbie (09:37:29) :

hi, i have only experimented with cheap techniques to smoothing image content using technique with similar principle to diffusion smoothing but preserves features with strong edge impulse. the result was surprisingly entertaining, i have a photograph with shiny cheek because of oily face and it looks smoother by removing ‘highlights’ from subtle light scattering.

the image will looks good on smaller resolution because of the ‘gloom’ effect similar to small gaussian blurs.

modifying face’s shape to be symmetrical is IMHO is so unnatural. altough it may be looking good. maybe if we can alter the emotion evoked by the face in the image to cheering or subtly happy it would make this world better. lol.

29 06 2008
Leonardo (13:36:37) :

In fact, absolutely any “beatyfication” is possible for designers. The real point is find good algorithms to make it without human intervention.

According to some initial researches I have made, a good approach pass thru segmentation, pattern recognition, texture mapping, filtering and warping.

Depending on how smart you intend your algorithm should be, you need make some vectorizations and apply a lot of calculations. Depending on the results, you can need to make some kind of redistribution of face’s regions.

Best regards.

2 07 2008
New segmentation algorithms at CVPR 2008 | ENLIGHTEN3D (08:55:27) :

[...] to photoshop yourself riding this tiger to impress your online friends. (After making your face prettier of course.) The first thing you’ll need to do (after buying, learning and practicing [...]

10 12 2008
Lola (18:18:41) :

…Make yourself prettier with computer graphics???

Unbelievable.