You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for that nice example.
I want to use your code with automatically found landmarks (using dlib's landmark detector). So how can I get the correct assignment of the rectangles generated with delauny triangulation? Because it seems that when I just take the given order it is not correct. Means the result does not look like a face (but like rectangles on a face). Hope you can understand what I mean. Here's some pseudo code of what I'm doing:
get landmarks on face 1using dlib
get landmarks on face 2 using dlib
delauny triangulation on both
pixel correspondence of morphed image (use rectangles from face 2)
for(rectangles from face 1) {
get affine transformation(rectangleFace1, rectangleFace2)
warp triangles
}
By the way I want to completely override the rectangles from the first image with the rectangles from the second image. So a kind of simply transforming the rectangles from second image (in the form of the first image).
Please help, thanks in advance.
Best regards
Patricia
The text was updated successfully, but these errors were encountered:
Thanks for that nice example.
I want to use your code with automatically found landmarks (using dlib's landmark detector). So how can I get the correct assignment of the rectangles generated with delauny triangulation? Because it seems that when I just take the given order it is not correct. Means the result does not look like a face (but like rectangles on a face). Hope you can understand what I mean. Here's some pseudo code of what I'm doing:
By the way I want to completely override the rectangles from the first image with the rectangles from the second image. So a kind of simply transforming the rectangles from second image (in the form of the first image).
Please help, thanks in advance.
Best regards
Patricia
The text was updated successfully, but these errors were encountered: