Skip to main content

Probabilistic Fitting of 2D Face Images


Fitting parametric models to novel data is a common problem in many disciplines. In Computer Vision and Medical Image Analysis such optimization tasks are often difficult due to the large number of model parameter and additionally the problem of local minima of the fitting problem.

In this free online course, you will get insights how probabilistic methods can overcome these difficulties. You will learn how the optimization problem can be reformulated in a fully probabilistic form using "Bayes-Theory". Based on this formalism you will understand that a data-driven Markov Chain Monte Carlo optimization technique is well suited for the problem.

Course Material:

During the tutorial you will implement a simple framework to reconstruct a face from a single photograph.

The structure of this tutorial is similar to the Statistical Shape Modelling course, it consists of:

  • articles
  • videos
  • interactive software tutorial.

All course material is wrapped into single tutorial file that must be downloaded as a whole.

Please download the package corresponding to your operating system using one of the links below:

To run the tool on Windows and Mac:

  1. Unzip the downloaded package.
  2. Double-click on the appropriate launcher depending on your operating system (launch_tutorial.bat for Windows or launch_tutorial for MacOS).

on Linux:

  1. Unzip the downloaded package.
  2. Open a Terminal and change to the unzipped directory
  3. Run the following in the terminal: ./

That's it!


  • Modern CPU (two cores to keep the GUI responsive)
  • Screen size > 800x600
  • RAM 2GB
  • Download the Basel Face Model 2017 and add it to the data directory (model2017-1_face12_nomouth.h5).
  • Make sure you start the tutorial in the working directory where the data folder is contained.