Git Product home page Git Product logo

Comments (5)

yingcong avatar yingcong commented on July 22, 2024

Thanks for being interested in this work.

  1. Yes, the RaFD datasets are well aligned to the CelebA. The alignment tool will crop the head based on the head location of the reference image.

  2. Only frontal faces are used.

from homointerpgan.

RegisWu avatar RegisWu commented on July 22, 2024

@yingcong Thanks for your quick reply!

I try the provided facealign/align_all.py, which it aligns the face to a near-frontal position and good synthesized results could be obtained from that.
But I am still wondering how to put the synthesized face back to the original image, as we have to deal with the scaling/ translation/ rotation problems? I am stuck there.
Could you please share the tool with us? Then we could test the method in a better way. Or could you give us some suggestions on addressing the problem?

Looking forward to your reply. Thanks.

from homointerpgan.

RegisWu avatar RegisWu commented on July 22, 2024

We would like to generate similar results as Fig.1 - 3 shown in supplementary material

from homointerpgan.

yingcong avatar yingcong commented on July 22, 2024

Hi @RegisWu, For blending the faces back, we basically leverage the "seamlessClone“ in opencv. You can refer to https://www.learnopencv.com/seamless-cloning-using-opencv-python-cpp for the usage.

from homointerpgan.

RegisWu avatar RegisWu commented on July 22, 2024

Note with thanks!

from homointerpgan.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.