문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top