Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do iPhone applications that change your photo work?

You know those iPhone applications that fatten your face, make you look older, etc...

How do they work? If I wanted to know how to code something similar in Objective C, where would you point me to start on the implementation of that portion of code?

If you are well versed in PHP, how would you do it in GD or similar?

Pseudo code is fine.

Thanks.

like image 465
alex Avatar asked Nov 15 '10 05:11

alex


People also ask

What do photo editing apps do?

Excellent photo editing apps can upload photos and work with your camera. They should have built-in filters, the option to rotate and change image sizes, and an option to create collages or add frames. Having options to adjust balances, exposure, color vibrancy, saturation, and sharpness is key too.

How does iPhone Photos app work?

The Photos app works as a central hub for filters and effects pulled from all the extensibility-compatible editing apps you've downloaded from the App Store. Find the apps, install them, enable them, and then you can apply them all right from the Photos app.

What is the photo editing app that everyone is using?

1. PicsArt (Android, iOS) PicsArt is our top pick of the best photo editing apps, because it's fun, easy to use, yet covers just about all the bases for consumer mobile photography. It provides lots of creative control, excellent image-editing tools and a large variety of attractive filters.


2 Answers

From other apps I have done in Flash, its by overlaying PNG images eg with lines and wrinkles. I can imagine that some of the images would be tinted to fit you skin tone.

Some of the other smart things they do is use OpenCV for the iPhone to detect where the persons eyes, nose and mouth are so they can overlay images more accurately.

I think with FatBooth, they are doing some sneaky image stretching doing pixel by pixel image manipulation around where they think the chin and other areas of the face. I don't think you will find a simple example with a simple filter. I think its a real mixture of techniques.

like image 91
John Ballinger Avatar answered Sep 29 '22 10:09

John Ballinger


GD doesn't have Imagick's capability to morphImages()

like image 40
bcosca Avatar answered Sep 29 '22 10:09

bcosca