Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kousu/facemark
https://github.com/kousu/facemark
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kousu/facemark
- Owner: kousu
- Created: 2021-04-21T20:24:42.000Z (almost 4 years ago)
- Default Branch: trunk
- Last Pushed: 2021-04-21T23:03:21.000Z (almost 4 years ago)
- Last Synced: 2024-11-24T06:24:53.647Z (about 2 months ago)
- Language: C++
- Size: 44.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.zipMake 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
...