GithubHelp home page GithubHelp logo

Comments (4)

MarekKowalski avatar MarekKowalski commented on May 27, 2024

Hi,
The destShape is the shape you want your input shape to be warped to (using a similarity transform).

In the network destShape is initLandmarks, which is a frontal face shape located in the middle of a 112x112 image. All input images are warped so that their initial landmarks are aligned with those of initLandmarks.

Does that answer your question?

Thanks,

Marek

from deepalignmentnetwork.

xiaomingdaren123 avatar xiaomingdaren123 commented on May 27, 2024

Thank you very much for your answer.

from deepalignmentnetwork.

gmlyytt-YANG avatar gmlyytt-YANG commented on May 27, 2024

Hello @MarekKowalski , Thank you very much sharing the code of your work. Could you explain a little about the role of frameFraction in ImageServer? Is that the true imgSize of the real application of your dan model?

Young
Thank you very much

from deepalignmentnetwork.

MarekKowalski avatar MarekKowalski commented on May 27, 2024

Hi Young,

frameFraction refers to the fraction of the input image that will be the "frame", which is the area outside of the landamarks of initLandmarks. If you set this value to be high, the face will take a smaller part of the image and vice versa.

I'm not sure what you mean by true imgSize :(

Thanks,

Marek

from deepalignmentnetwork.

Related Issues (20)

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.