// These are the additional contour-correspondences we're going to find and then use!
// These are the additional contour-correspondences we're going to find and then use!
std::vector<cv::Vec4f>model_points_cnt;// the points in the 3D shape model
std::vector<cv::Vec4f>model_points_cnt;// the points in the 3D shape model
...
@@ -290,8 +285,8 @@ std::tuple<std::vector<cv::Vec2f>, std::vector<cv::Vec4f>, std::vector<int>> get
...
@@ -290,8 +285,8 @@ std::tuple<std::vector<cv::Vec2f>, std::vector<cv::Vec4f>, std::vector<int>> get
std::vector<float>distances_2d;
std::vector<float>distances_2d;
for(auto&&model_contour_vertex_idx:model_contour_indices)// we could actually pre-project them, i.e. only project them once, not for each landmark newly...
for(auto&&model_contour_vertex_idx:model_contour_indices)// we could actually pre-project them, i.e. only project them once, not for each landmark newly...