Commit 24e9062a authored by Patrik Huber's avatar Patrik Huber

Added a simple contour fitting that fits the camera-facing contour

- Updated ibug2did.txt with a description of the contour indices
- Added a file describing the left and right model contours (the face outline) on the reference model
- Caveat: The implementation is a bit poorly documented for now
parent bf0aafe6
...@@ -98,6 +98,7 @@ set(HEADERS ...@@ -98,6 +98,7 @@ set(HEADERS
include/eos/fitting/nonlinear_camera_estimation.hpp include/eos/fitting/nonlinear_camera_estimation.hpp
include/eos/fitting/detail/nonlinear_camera_estimation_detail.hpp include/eos/fitting/detail/nonlinear_camera_estimation_detail.hpp
include/eos/fitting/linear_shape_fitting.hpp include/eos/fitting/linear_shape_fitting.hpp
include/eos/fitting/contour_correspondence.hpp
include/eos/render/Mesh.hpp include/eos/render/Mesh.hpp
include/eos/render/utils.hpp include/eos/render/utils.hpp
include/eos/render/render.hpp include/eos/render/render.hpp
......
This diff is collapsed.
...@@ -22,3 +22,26 @@ landmarkMappings ; A mapping from input landmarks (iBug, lhs) to output landmark ...@@ -22,3 +22,26 @@ landmarkMappings ; A mapping from input landmarks (iBug, lhs) to output landmark
55 812 ; left mouth corner (13) 55 812 ; left mouth corner (13)
58 411 ; lower lip middle bottom (17) 58 411 ; lower lip middle bottom (17)
} }
contour_landmarks
{
right {
1
2
3
4
5
6
7
8
}
left {
10
11
12
13
14
15
16
17
}
}
\ No newline at end of file
{
"model_contour": {
"right_contour": [
380,
373,
356,
358,
359,
360,
365,
363,
364,
388,
391,
392,
393,
11,
21,
25,
22
],
"left_contour": [
795,
790,
773,
775,
776,
777,
782,
780,
781,
802,
805,
806,
807,
454,
464,
466,
465
]
}
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment