Another DCLM speedup.

This commit is contained in:
TadasBaltrusaitis
2017-02-08 11:34:23 -05:00
parent 5875786006
commit 56dac1d3a6
2 changed files with 8 additions and 3 deletions

View File

@@ -469,8 +469,13 @@ bool LandmarkDetector::DetectLandmarksInImage(const cv::Mat_<uchar> &grayscale_i
rotation_hypotheses.push_back(cv::Vec3d(0,0,0));
rotation_hypotheses.push_back(cv::Vec3d(0,0.5236,0));
rotation_hypotheses.push_back(cv::Vec3d(0,-0.5236,0));
rotation_hypotheses.push_back(cv::Vec3d(0.5236,0,0));
rotation_hypotheses.push_back(cv::Vec3d(-0.5236,0,0));
// If not using DPN patch experts add additional hypotheses
if(clnf_model.patch_experts.dpn_expert_intensity.size() == 0)
{
rotation_hypotheses.push_back(cv::Vec3d(0.5236,0,0));
rotation_hypotheses.push_back(cv::Vec3d(-0.5236,0,0));
}
}
else
{