Commit 8cfb4b8b authored by Patrik Huber's avatar Patrik Huber

Updated the namespace of LandmarkMapper in fit_model too

parent c02ca48c
...@@ -141,7 +141,7 @@ int main(int argc, char *argv[]) ...@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
Mat image = cv::imread(imagefile.string()); Mat image = cv::imread(imagefile.string());
auto landmarks = readPtsLandmarks(landmarksfile.string()); auto landmarks = readPtsLandmarks(landmarksfile.string());
morphablemodel::MorphableModel morphableModel = morphablemodel::loadScmModel(modelfile, isomapfile); morphablemodel::MorphableModel morphableModel = morphablemodel::loadScmModel(modelfile, isomapfile);
morphablemodel::LandmarkMapper landmarkMapper = mappingsfile.empty() ? morphablemodel::LandmarkMapper() : morphablemodel::LandmarkMapper(mappingsfile); core::LandmarkMapper landmarkMapper = mappingsfile.empty() ? core::LandmarkMapper() : core::LandmarkMapper(mappingsfile);
// Draw the loaded landmarks: // Draw the loaded landmarks:
Mat outimg = image.clone(); Mat outimg = image.clone();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment