I am also wandering for same thing, but i am not able to implement this in iOS. Here i can share my Logic. Go for "ShepardsDistortion" in ImageMagick. This allows you to distort image pixel by pixel, for that you have to first apply Face Detection algorithm.
https://www.imagemagick.org/Usage/distorts/#freeform_distorts