Git Product home page Git Product logo

Comments (3)

uricamic avatar uricamic commented on July 21, 2024

Hi @bettyyy,

the green box is constructed from the response of C-DPM within C2F-DPM detector. Check the helper function in C2F-DPM code snippets - there is a function getUpdatedBBOX which returns the corrected face box (green box in the image). It has the same format as the expected face box on input.

from clandmark.

bettyyy avatar bettyyy commented on July 21, 2024

Thank you for your quick response! I will have a look on it and try to do it!

from clandmark.

uricamic avatar uricamic commented on July 21, 2024

Hi @bettyyy,

getUpdatedBBOX takes landmarks from the C-DPM detector and returns the corrected face box. The corrected box is calculated from landmarks as follows - the in-plane rotation is calculated as the deviation of least squares best line fitted to landmarks corresponding to eyes from the x-axis. The center of the corrected box is put on the centeroid of all landmarks and the size is computed based on the distance of centeroid of both eyes.

It works best for the near-frontal face orientations, it gets worse when the face is close to profile pose.

from clandmark.

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.