Giter VIP home page Giter VIP logo

Comments (1)

vitoralbiero avatar vitoralbiero commented on June 2, 2024

Hello Felix,

Thank you for your interest in our work!
We are solving a much harder problem than pose estimation, since face detection faces are much harder than faces in pose benchmarks, so we had to create our own labels for training. These labels were created using our own 3D model, thus we tested on AFLW2000-3D using labels created by the ground-truth landmarks and our 3D model.

For approach 1), we compared it with the AFLW2000-3D ground-truth pose labels and got similar results (both single and multi-scale). Because our representation is similar to BIWI, in order to compare to AFLW2000-3D, you need to convert our predicted labels using the function below.

pose_target[:3] = Rotation.from_euler('xyz', pose_para, degrees=False).as_euler('zxy', degrees=True)
pose_pred[:3] = Rotation.from_euler('xyz', convert_to_aflw(pose_pred[:3]), degrees=True).as_euler('zxy', degrees=True)

def convert_to_aflw(rotvec):
    rot_mat_1 = Rotation.from_rotvec(rotvec).as_matrix()
    rot_mat_2 = np.transpose(rot_mat_1)
    angle = Rotation.from_matrix(rot_mat_2).as_euler('xyz', degrees=True)
    return np.array([angle[0], -angle[1], -angle[2]])

For approach 2), although unfeasible since the majority of other methods are not publicly available, a similar conversion would be required.

Hope this helps.

from img2pose.

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.