2D-and-3D-face-alignment icon indicating copy to clipboard operation
2D-and-3D-face-alignment copied to clipboard

Range of depth?

Open ablavatski opened this issue 8 years ago • 2 comments

What is the range of depth predictions?

https://github.com/1adrianb/2D-and-3D-face-alignment/blob/c85491111758e459a42fe9c903f26d990043582c/main.lua#L78

Thanks in advance!

ablavatski avatar Sep 11 '17 12:09 ablavatski

Hi @ablavatski, I don't remember the exact range but at that point expect values in the range [-70, 70] approximatively. The depth predicted should be consistent with the one from the 3DDFA model if you zero mean it. If you need a more accurate range let me know and I will check it.

1adrianb avatar Sep 11 '17 13:09 1adrianb

Hi @1adrianb I can't check the model cause I use Ubuntu and the code for the model is written for Windows. Could you check the range for me and tell me what I need to do after this depth_pred*(1/(256/(200*fileList[i].scale))) in order to have values in a range [-1, 1]. Thank you in advance.

ablavatski avatar Sep 12 '17 14:09 ablavatski