Skip to content

wonjongg/Py-3D-Caricature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py-3D-Caricature

📝 This repository contains the unofficial python implementation of the following paper:

Computational Caricaturization of Surfaces
Matan Sela, Yonathan Aflalo, Ron Kimmel, CVIU 2015

Updates

🚀 [2022/01/17] Upload source code and example .obj files

Requirements

✔️ Python >= 3.6
✔️ libigl python binding
✔️ PyMesh (Please download the source and build it instead of conda install)
✔️ numpy
✔️ scipy
✔️ click

Usage

Check the basic usage:

python caricaturize.py --help

We provided some sample .obj files. Test on sample meshes:

python caricaturize.py --outdir=./ --ref=examples/ref.obj --src=examples/src.obj --beta=0.6

--beta is a hyper-parameter that determines how much a given shape will be exaggerated.

Results

Exaggeration degree Output mesh (front) Output mesh (profile)
0.0 img1 cari1
0.3 img2 cari2
0.6 img3 cari3

Contact

📫 You can have contact with wonjong@postech.ac.kr or ycjung@postech.ac.kr

License

This software is being made available under the terms in the LICENSE file.

Any exemptions to these terms require a license from the Pohang University of Science and Technology.

Notes: The LICENSE only covers my code, not example meshes.

Credits

❤️ This code is based on the unofficial C++ implementation of the paper

signature

About

Python implementation of 3D facial mesh exaggeration using the techniques described in the paper: "Computational Caricaturization of Surfaces".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages