warp without triangles

I use dlib + python warp, but thought that I can use dlib and gmic

2019-06-28-191117_315x794_scrot

This is my result. They mark a lot the triangles

2019-06-28-191334_321x396_scrot

Result:

2019-06-29-003320_315x395_scrot

Please show how you have arrived at these outputs.

I use this programs:

Detect point:

Deformation:

I deform an image that is generated from the face in colors.

2019-06-29-000954_504x621_scrot

I use 68 points in the face can use this and the frame to create a distorsion more armonic

The second link is helpful. Maybe triangulation only works well on frontal faces.

Maybe if I create more triangles in the edge was better. But I thought that this could replace by warp of g’mic

Sorry, I don’t have experience with warp. Maybe do a forum search. Ping @Joan_Rake1 @Reptorian.

If you can extrapolate the difference x coordinate, or y coordinate. You can use the difference into i(x,z…) inside fill command. That’s how I made the log warp. See updatexxxx.gmic for details.

My idea was to do it with gmic because it has not been maintained for years.
A Libre puppet / rotoscope.

https://4232.cf/tag/rotoscopio/

You’ll probably need to begin with displacement:

displacement[1] [2],0.1,5 warp[0] [1],1 k[0]

displacement2
(Sorry gmicky!)

2 Likes