Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
py-3d-face-reconstruction
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Torenvliet
py-3d-face-reconstruction
Commits
0398b2aa
Commit
0398b2aa
authored
7 years ago
by
Richard Torenvliet
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
c09fab29
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+21
-8
21 additions, 8 deletions
README.md
with
21 additions
and
8 deletions
README.md
+
21
−
8
View file @
0398b2aa
# About this tool
This tool is meant to as a pipeline to show 2D and 3D reconstructions using An
Active Appearance Model and a 2D or 3D model to rebuild the face. Face
reconstruction is a difficult subject but like with everything, if you
understand the steps, it's actually ok. This small library, can give you a
feeling what is needed to solve this problem, but also some quick-and-dirty
tricks are used. Like using dlib to solve landmark detection, instead of
estimating them using a more traditional way by as done by [[Coots|coots]].
Instead, dlib uses a sophistaticated approach to estimate 2D landmarks. This
capability is re-used to find the PCA parameters needed to rebuild a person's
face.
## Prerequisites
Run the following command
~~~~
$ make
$ source bin/activate
$ make show_reconstruction
~~~~
-
Docker
Will get the data needed for this tool.
# Run
-
$ make
> *Note*: this will build the docker image, retrieves the imm dataset and dlib
> trained landmark file.
> $ make server
-
Use https://github.com/icyrizard/py-3d-face-reconstruction-viewer to run a
viewer which uses the server to make the reconstruction insightful.
# Imm dataset
# IBUG + dlib
For the IBUG dataset we use dlib to detect landmarks. You will need the train
file for that. http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
...
...
@@ -22,3 +34,4 @@ $ bzip2 -d shape_predictor_68_face_landmarks.dat.bz2
## References
1.
[
imm_dataset
](
http://www.imm.dtu.dk/~aam/datasets/datasets.html,
"Imm dataset"
)
2.
[
coots
](
https://www.cs.cmu.edu/~efros/courses/AP06/Papers/cootes-eccv-98.pdf,
"Coots"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment