Frage

Good afternoon Can using a library imagemagick apply to image distortion on the mask?

By analogy with this example http://www.imagemagick.org/Usage/mapping/#spherical

I wanted to create the effect of a "fat face" with the help of such distortion. The problem is that this must be individually increase cheeks and chin. I can not understand how to look like a mask distortion in this case.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top