Code Monkey home page Code Monkey logo

Comments (6)

tjusxh avatar tjusxh commented on July 16, 2024 2

I guess the x should be the 68 2d points. But I get 68 points from 2d image. But I get non-ideal result. How to normalization the points?
generated_image00002

fitted_image00002

I resolve the question by x= x - np.mean(x,axis=0) x[:1] = -x[:,1] . But I don't sure if it is right.

from face3d.

kekedan avatar kekedan commented on July 16, 2024

hello professor, i don't know it exactly what is the two input:
x: (n, 2) image points
X_ind: (n,) corresponding Model vertex indices
is x just a picture?
and is X_ind generated by morphable.generate_vertices?

the ame problem .do you got it?

from face3d.

zhongtao93 avatar zhongtao93 commented on July 16, 2024

the same question, can anyone have explantion?

from face3d.

zhongtao93 avatar zhongtao93 commented on July 16, 2024

I have get a good result.
image
image
I use the code bellow, x is 68d face keypoint
x = x / np.max(x) * 255
x -= np.mean(x)

from face3d.

Zenway-Wong avatar Zenway-Wong commented on July 16, 2024

I have get a good result. image image I use the code bellow, x is 68d face keypoint x = x / np.max(x) * 255 x -= np.mean(x)

Hi, can you please share how you get the 2D point? And how to get fitted texture?

from face3d.

pfeducode avatar pfeducode commented on July 16, 2024

Have you solved this problem? Why is my output image reversed?
The generated picture is as follows
generated
the orignial pose image
aflw-test

and I use 68 key points to fit the generated image, and the fit picture is as follows,I dont know why i get such a strange picture
fitted

from face3d.

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.