Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect output when using morph #6

Open
patriciastar opened this issue Jul 7, 2016 · 1 comment
Open

Incorrect output when using morph #6

patriciastar opened this issue Jul 7, 2016 · 1 comment

Comments

@patriciastar
Copy link

patriciastar commented Jul 7, 2016

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

spmallick pushed a commit that referenced this issue Dec 4, 2018
@sakshiseth
Copy link
Contributor

@vikasgupta-github Required PR being merged referenced to this issue. Can we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants