GitXplorerGitXplorer
r

DenseReg

public
254 stars
74 forks
6 issues

Commits

List of commits on branch master.
Unverified
d28c89e42c63e2c8c29f3cfdbc0336a6103195d9

Update README.md

rralpguler committed 7 years ago
Unverified
a323e1c43351b645810ceaeb7755cc7d918f2870

Update and add human body notebook - Minor fix

rralpguler committed 7 years ago
Unverified
4ee51376cb3c75d2f6e845cdae2ef43db07e694b

Update and add human body notebook

rralpguler committed 7 years ago
Unverified
9cf388f04ec264e04ba79d189b6381a3f6c81a24

Changed deploy.prototxt for deeplab2

rralpguler committed 8 years ago
Unverified
20eab95bcc362d9383183851fe8d3bdd718e7f26

add submodule

rralpguler committed 8 years ago
Unverified
4ac48188037b6561e48ea146658bb37e2a2bc502

init commit

rralpguler committed 8 years ago

README

The README file for this repository.

DenseReg:

Fully Convolutional Dense Shape Regression In-the-Wild

Rıza Alp Güler, George Trigeorgis, Epameinondas Antonakos, Patrick Snape, Stefanos Zafeiriou, Iasonas Kokkinos


This is an implementation of the method described in the arXiv paper. For a video demonstration and supplementary materials see the project page.

Currently, only the Caffe(deeplab) based test-code that allows regressing template face coordinates on a given image is available. Training code will be provided soon.


Caffe Setup

You have two options:

1- Use deeplabv2 submodule

First install deeplabv2. It is added as a submodule to this repository, you can follow its own installation instructions. Make sure that you have set WITH_PYTHON_LAYER=1 in "Makefile.config" of the Caffe.

2- Using your own caffe

Alternatively, you can use your favorite installed caffe, then all you need to add is the "interpolation layer", which can be found in the provided deeplab version. If you do this, you have to change the caffe path in (i)DenseReg.ipynb and (ii) CombineRegressions.py caffe layer before "import caffe" line.

Running DenseReg

  • You have to download the caffemodel by running the script: get_densereg_model.sh.
  • Then, you can use the ipyton notebook DenseReg.ipynb, which very basically demonstrates how example results for the Lena's face are obtained.

Namely, putting a uniform grid in the temple space onto the face, semantic face part segmentation and landmark localization results are demonstrated (as portrayed in the image below).


Running DenseReg for Human Bodies

  • You have to download the caffemodel by running the script: get_densereg_model.sh.
  • Then, you can use the ipyton notebook DenseRegHumanBody.ipynb, which demonstrates dense-correspondences for human bodies on sample images. Note that this network is not trained to be invariant to changes in scale.

Demonstrated result is depicted for a test sample.


Bibtex entry for citations:

  @article{Guler2016DenseReg,
  title={DenseReg: Fully Convolutional Dense Shape Regression In-the-Wild},
  author={R\{i}za Alp G\"uler, George Trigeorgis, Epameinondas Antonakos, Patrick Snape, Stefanos Zafeiriou, Iasonas Kokkinos},
  journal={arXiv:1612.01202},
  year={2016}
  }