I want to make 3d face reconstruction from single image.I googled around and found
https://github.com/mkorunoski/3D-Face-Reconstruction/ .This link uses below values for 3D reconstruction:
const cv::Point3f modelPointsArr[] =
{
cv::Point3f(-1.030300, -0.41930, -0.38129),
cv::Point3f(-0.493680, -0.38700, -0.55059),
cv::Point3f(+1.030300, -0.41930, -0.38129),
cv::Point3f(+0.493680, -0.38700, -0.55059),
cv::Point3f(-0.363830, +0.52565, -0.79787),
cv::Point3f(+0.363830, +0.52565, -0.79787),
cv::Point3f(-0.599530, +1.10768, -0.71667),
cv::Point3f(+0.599530, +1.10768, -0.71667),
cv::Point3f(-0.000002, +1.99444, -0.94946)
};
EDIT: This points are calculated using MeshLab's "Get Info" selector for the images are in workspace of the project as stated in http://www.morethantechnical.com/2012/10/17/head-pose-estimation-with-opencv-opengl-revisited-w-code/.
But I want to obtain 3d face reconstruction with different images. Is there any way to get such 3d points automatically from given image not writing manually for specific image?