Skip to content

Commit

Permalink
Added const
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikhuber committed Nov 16, 2017
1 parent 55e43e3 commit 97598c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/fit-model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ int main(int argc, char *argv[])
vector<morphablemodel::Blendshape> blendshapes = morphablemodel::load_blendshapes(blendshapesfile);

// These two are used to fit the front-facing contour to the ibug contour landmarks:
fitting::ModelContour model_contour = contourfile.empty() ? fitting::ModelContour() : fitting::ModelContour::load(contourfile);
fitting::ContourLandmarks ibug_contour = fitting::ContourLandmarks::load(mappingsfile);
const fitting::ModelContour model_contour = contourfile.empty() ? fitting::ModelContour() : fitting::ModelContour::load(contourfile);
const fitting::ContourLandmarks ibug_contour = fitting::ContourLandmarks::load(mappingsfile);

// The edge topology is used to speed up computation of the occluding face contour fitting:
morphablemodel::EdgeTopology edge_topology = morphablemodel::load_edge_topology(edgetopologyfile);
const morphablemodel::EdgeTopology edge_topology = morphablemodel::load_edge_topology(edgetopologyfile);

// Draw the loaded landmarks:
Mat outimg = image.clone();
Expand Down

0 comments on commit 97598c7

Please sign in to comment.