Giter Club home page Giter Club logo

Comments (8)

AaronJackson avatar AaronJackson commented on June 12, 2024

If the input image has been scaled by VRN then the output will need to be scale back to the original by applying the inverse transform. There should not be any need to apply any manual scaling to bring things back into alignment. ICP should only need to be used for finding the correspondence, once you have that the NME can be calculated

from vrn.

ydwen avatar ydwen commented on June 12, 2024

Sorry for the confusion.

My actual question is how to associate the xyz coordinates provided by the obj file, and those in the rendered face image. Aren't they in different scales? Is it addressed by ICP?

Thanks.

from vrn.

AaronJackson avatar AaronJackson commented on June 12, 2024

The input image is scaled using a landmark detector, so the vertices may have a different scale to the original input image. The inverse of this can be applied to go back to the original image scale. To figure out what this scale is, you'll need to go through the code and see how it is calculated.

I don't really understand your question to be honest, sorry

from vrn.

ydwen avatar ydwen commented on June 12, 2024

Really sorry for my bad description. But we are getting close to it.

We have two things provided by the florenceface dataset.
a. The original images. (or rendered images?)
b. The xyz coordinates of the vertices.

From the original image, VRN predicts xyz coordinates. They are in different scales, right?

from vrn.

AaronJackson avatar AaronJackson commented on June 12, 2024

from vrn.

ydwen avatar ydwen commented on June 12, 2024

Got it. Thanks!

from vrn.

HOMGH avatar HOMGH commented on June 12, 2024

Hi Yandong and Aaron, @ydwen @AaronJackson
I had a question regarding computing NME for 3D face reconstruction. When the output 3D mesh of an algorithm has for example 43k vertices (for the case of PRNet for example), how can we compare this with the groundtruth mesh which has for example 53k vertices(for the case of AFLW2000 dataset).
Would you please share the NME computing code you used based on above discussion?
Thank you.

from vrn.

AaronJackson avatar AaronJackson commented on June 12, 2024

from vrn.

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.