Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kousu/facemark


https://github.com/kousu/facemark

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

## Dependencies

* opencv2
* vtk
* hdf5

### ArchLinux dependency instructions

```
pacman -S opencv vtk hdf5
```

### Debian/Ubuntu dependency instructions

```
```

### Windows

## Building

```
cmake -B build -DCMAKE_BUILD_TYPE=Release .
cmake --build build/
```

## Usage (dev version)

Get a training dataset. You can download either

* https://ibug.doc.ic.ac.uk/download/annotations/ibug.zip
* https://ibug.doc.ic.ac.uk/download/annotations/helen.zip

Make indexes to the dataset (why isn't this built in?) (**if you're using ibug, subsitute ibug/ for helen/trainset**):

```
find helen/trainset/ -name "*.jpg" | tee helen/trainset/images.txt
find helen/trainset/ -name "*.pts" | tee helen/trainset/annotations.txt
```

Train the model:

```
./build/FacemarkTrain train helen/trainset src/models/facemark/model.yaml
```

Test the model:

```
./build/FacemarkTrain test src/models/facemark/model.yaml helen/testset/3023909862_1.jpg
```

Interact with the model:

```
./build/FacemarkTrain track src/models/facemark/model.yaml
```

## Install

...

## Use

...