developing 3d face from 2d image

Hello all 3D lovers!
I am new to openGL. My mission is to get 3d face from 2d persons face photo in front position. I am writing here because i want you to direct me in right way developing this. Maybe this forum includes some code examples of things like that (let it be bad example with lots things to correct, but i would like to have some basis to work with). So i asking you for theoretical/practical examples of process, where input data is persons head photo in front position and output data is his face/head model. Thank you, sorry if this section of forum is incorrect for my question.