face3d icon indicating copy to clipboard operation
face3d copied to clipboard

about the input of fit.fit_point

Open woshinierbaba opened this issue 6 years ago • 6 comments
trafficstars

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?

woshinierbaba avatar Mar 07 '19 02:03 woshinierbaba

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?

kekedan avatar Mar 25 '19 09:03 kekedan

the same question, can anyone have explantion?

zhongtao93 avatar May 07 '19 01:05 zhongtao93

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.

tjusxh avatar May 08 '19 12:05 tjusxh

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)

zhongtao93 avatar May 09 '19 07:05 zhongtao93

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?

Zenway-Wong avatar Dec 06 '21 09:12 Zenway-Wong

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

pfeducode avatar Jul 29 '22 12:07 pfeducode