kousu / facemark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

...

About


Languages

Language:C++ 91.4%Language:CMake 8.6%