An open API service indexing awesome lists of open source software.

https://github.com/anilbas/bfmlandmarks

68/21 Landmark points for Basel Face Model (3DMM)
https://github.com/anilbas/bfmlandmarks

3dmm annotations basel-face-model landmarks

Last synced: 3 months ago
JSON representation

68/21 Landmark points for Basel Face Model (3DMM)

Awesome Lists containing this project

README

        

# Landmarks for Basel Face Model (3DMM)
This page provides 2 types of landmark indices/anchor points for Basel Face Model.

68 Landmarks21 Landmarks

- **Landmarks68_BFM.anl**: 68 Landmarks (Fig:Left) for [300W](https://ibug.doc.ic.ac.uk/resources/300-W/) Annotation.
- **Landmarks21_BFM.anl**: 21 Landmarks (Fig:Right) for [AFLW](https://www.tugraz.at/institute/icg/research/team-bischof/lrs/downloads/aflw) Annotation.

To load the landmarks, simply call the readLandmarks function:

```matlab
idx = readLandmarks('Landmarks21_BFM.anl');
```

## Running the demo code

The demo scripts loads the morphable model and plots the landmarks on top of the mean face. Please set the path for the model file, `01_MorphableModel.mat`, in the first line of the script or you could copy the repository in the same folder. It is possible to obtain the model upon signing a license agreement via the [website](http://faces.cs.unibas.ch/bfm) of [Graphics and Vision Research Group, University of Basel](http://gravis.dmi.unibas.ch).

Fell free to use, copy, modify and share.