Stretch image area via opencv or opengl in iOS

I am trying to make a double chin in a bold image, as indicated in my desired image below.

enter image description here

I turned a normal face into a bold face, wrapping the image on a grid and warping the grid.

  • Source image

enter image description here

  1. Grid wrapped image with offset vertex points enter image description here

  2. Image of the current result

enter image description here

I tried a lot, setting the grid points, but could not get the result, as shown in the first image.

Any ideas how to achieve this by opening GL or opening CV in iOS?

+6
source share
1 answer

The first image shows that there is an additional effect to create a double or triple chin.
It actually looks like a predefined image mixed with the original or scale, and a stretched version of the original chin mixed with the distorted image.

0
source

All Articles