GithubHelp home page GithubHelp logo

lesliezhoa / metrical-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zielon/metrical-tracker

0.0 0.0 0.0 6.03 MB

Metrical Monocular Photometric Tracker [ECCV2022]

Home Page: https://zielon.github.io/mica/

License: Other

Shell 1.45% Python 98.55%

metrical-tracker's Introduction

Metrical Photometric Tracker

Max Planck Institute for Intelligent Systems, Tübingen, Germany

From the left: RGB Input, Estimated Texture, Predicted Landmarks (red), FLAME Geometry.
Official Repository for ECCV 2022 Metrical Photometric Tracker (from MICA).

Description

Metrical monocular tracker based on sequential color optimization. It returns optimized FLAME mesh, statistical texture coefficients, and pinhole camera intrinsic and extrinsic parameters. For each frame, a checkpoint will be created that stores all the information. Additionally, depth maps and meshes are also saved.

Installation

After cloning the repository please install the environment by running the install.sh script. It will prepare the tracker for usage. Please note to obtain BFM texture, which was used in our results and projects, you have to follow the BFM_to_FLAME repository. By default, the FLAME texture will be downloaded and used in the output folder.

Before installation, you need to create an account on the FLAME website and prepare your login and password beforehand. You will be asked to provide them in the installation script.

git clone https://github.com/Zielon/metrical-tracker.git
cd metrical-tracker
./install.sh

Usage

Our tracker needs MICA predictions to run. The identity.npy file you can find in the output folder of the demo.py file. Once the shape/identity file is generated you can simply select the corresponding video and run the tracker. Look at the three sequences {duda, justin, wojtek} from the example dataset in the input folder. Please, follow the same naming convention for your custom datasets. In the configuration file, you can specify the input and output folders.

python tracker.py --cfg ./configs/actors/duda.yml

Tips

  • in the case of fast-changing sequences you might adjust the learning rate for R and T in the config.
  • MediaPipe sometimes detects wrong landmarks for the first frame in the sequence. You might skip this frame in optimization.
  • there are many hyper-parameters involved in the optimization, please look at the config.py and tweak them to further improve your results.
  • the keyframes are the frames for which global color and shape will be optimized, therefore select frames with neutral pose preferably.

Projects

This tracker has been used in the following projects:

Citation

If you use this project in your research please cite MICA:

@proceedings{MICA:ECCV2022,
  author = {Zielonka, Wojciech and Bolkart, Timo and Thies, Justus},
  title = {Towards Metrical Reconstruction of Human Faces},
  journal = {European Conference on Computer Vision},
  year = {2022}
}

metrical-tracker's People

Contributors

edhyah avatar zielon 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.