GithubHelp home page GithubHelp logo

densereg's Introduction

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}
  }

densereg's People

Contributors

ralpguler avatar

Watchers

James Cloos avatar DL avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.