This software enables you to generate fully parametric face images from the Basel Face Model 2017 as proposed in:
[1] Adam Kortylewski, Bernhard Egger, Andreas Schneider, Thomas Gerig, Andreas Morel-Forster and Thomas Vetter "Analyzing and Reducing the Damage of Dataset Bias to Face Recognition With Synthetic Data", IN: CVPRW (2019)
[2] Adam Kortylewski, Andreas Schneider, Thomas Gerig, Bernhard Egger, Andreas Morel-Forster and Thomas Vetter "Training Deep Face Recognition Systems with Synthetic Data", IN: arXiv preprint (2018)
[3] Adam Kortylewski, Bernhard Egger, Andreas Schneider, Thomas Gerig, Andreas Morel-Forster and Thomas Vetter "Empirically Analyzing the Effect of Dataset Biases on Deep Face Recognition Systems", IN: CVPRW (2018)
You can control the variation of parameters such as pose, shape, color, camera and illumination based on your demand and application. This dataset can be used for training and comparing machine learning techniques such as CNNs on a common ground as proposed in [1,3] by generating fully controlled training and test data.
Above you can see example face images sampled from this data generator. Each row shows different images of the same facial identity.
In the "controlled" setup (top row), the model parameters are sampled at equidistant positions along a certain parameter , e.g. the yaw pose.
In the "random" setup (bottom row), the model parameters are sampled randomly from a custom distribution.
You can render different image modalities such as e.g. depth images (top row), color coded correspondence images (bottom row), normals, albedo or illumination.
You can render different region maps, while we provide two default ones.
For each face image the location and visibilty of 19 facial landmarks is written in a .tlms file in the following format:
"facial landmark name" "visibility" "x-position" "y-position"
release
data/config_files/example_config_controlled.json
java -Xmx2g -cp generator.jar faces.apps.ControlledFaces -c data/config_files/example_config_controlled.json
java -Xmx2g -cp generator.jar faces.apps.RandomFaces -c data/config_files/example_config_random.json
sbt run -mem 2000
There is a scalismo-faces google group for general questions and discussion.
Besides the publications listed next, we have also freely available lectures and tutorials. Some of the topics covered are statistical shape modeling and model-based image analysis as part of our research about Probabilistic Morphable Models.
If you use this software you will need the Basel Face Model 2017, the Basel Illumination Prior 2017 and a dataset of backgrounds. Please cite the following papers:
[1] Adam Kortylewski, Bernhard Egger, Andreas Schneider, Thomas Gerig, Andreas Morel-Forster and Thomas Vetter "Analyzing and Reducing the Damage of Dataset Bias to Face Recognition With Synthetic Data", IN: CVPRW (2019)
[2] Adam Kortylewski, Andreas Schneider, Thomas Gerig, Bernhard Egger, Andreas Morel-Forster and Thomas Vetter "Training Deep Face Recognition Systems with Synthetic Data", IN: arXiv preprint (2018)
Apache License, Version 2.0, details see LICENSE
Copyright 2017, University of Basel, Graphics and Vision Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.