Comments (4)
@kirito12138 I had forked/modified this a while ago - here's an annotated version:
object_pts_source = [
[-7.308957, 0.913869, 0.000000],
[-6.775290, -0.730814, -0.012799],
[-5.665918, -3.286078, 1.022951],
[-5.011779, -4.876396, 1.047961],
[-4.056931, -5.947019, 1.636229],
[-1.833492, -7.056977, 4.061275],
[0.000000, -7.415691, 4.070434],
[1.833492, -7.056977, 4.061275],
[4.056931, -5.947019, 1.636229],
[5.011779, -4.876396, 1.047961],
[5.665918, -3.286078, 1.022951],
[6.775290, -0.730814, -0.012799],
[7.308957, 0.913869, 0.000000],
[5.311432, 5.485328, 3.987654],
[4.461908, 6.189018, 5.594410],
[3.550622, 6.185143, 5.712299],
[2.542231, 5.862829, 4.687939],
[1.789930, 5.393625, 4.413414],
[2.693583, 5.018237, 5.072837],
[3.530191, 4.981603, 4.937805],
[4.490323, 5.186498, 4.694397],
[-5.311432, 5.485328, 3.987654],
[-4.461908, 6.189018, 5.594410],
[-3.550622, 6.185143, 5.712299],
[-2.542231, 5.862829, 4.687939],
[-1.789930, 5.393625, 4.413414],
[-2.693583, 5.018237, 5.072837],
[-3.530191, 4.981603, 4.937805],
[-4.490323, 5.186498, 4.694397],
[1.330353, 7.122144, 6.903745],
[2.533424, 7.878085, 7.451034],
[4.861131, 7.878672, 6.601275],
[6.137002, 7.271266, 5.200823],
[6.825897, 6.760612, 4.402142],
[-1.330353, 7.122144, 6.903745],
[-2.533424, 7.878085, 7.451034],
[-4.861131, 7.878672, 6.601275],
[-6.137002, 7.271266, 5.200823],
[-6.825897, 6.760612, 4.402142],
[-2.774015, -2.080775, 5.048531],
[-0.509714, -1.571179, 6.566167],
[0.000000, -1.646444, 6.704956],
[0.509714, -1.571179, 6.566167],
[2.774015, -2.080775, 5.048531],
[0.589441, -2.958597, 6.109526],
[0.000000, -3.116408, 6.097667],
[-0.589441, -2.958597, 6.109526],
[-0.981972, 4.554081, 6.301271],
[-0.973987, 1.916389, 7.654050],
[-2.005628, 1.409845, 6.165652],
[-1.930245, 0.424351, 5.914376],
[-0.746313, 0.348381, 6.263227],
[0.000000, 0.000000, 6.763430],
[0.746313, 0.348381, 6.263227],
[1.930245, 0.424351, 5.914376],
[2.005628, 1.409845, 6.165652],
[0.973987, 1.916389, 7.654050],
[0.981972, 4.554081, 6.301271],
[0.000000, 1.916389, 7.700000],
]
points_map = {
# object_pt_id: image_pt_id
0: 17, # start jawline - right
1: 16,
2: 14,
3: 13,
4: 12,
5: 10,
6: 9, # chin center
7: 8,
8: 6,
9: 5,
10: 4,
11: 2,
12: 1, # end jawline - left
43: 49, # start mouth - left corner
42: 51,
41: 52,
40: 53,
39: 55, # mouth - right corner
46: 57,
45: 58,
44: 59, # end mouth
54: 32, # start nose - left
53: 33,
52: 34,
51: 35,
50: 36, # end nose - right
58: 31, # nose tip (new point)
13: 37, # start left eye - left corner
14: 38,
16: 39,
17: 40, # left eye - right corner
18: 41,
20: 42, # end left eye
25: 43, # start right eye - left corner
24: 44,
22: 45,
21: 46, # right eye - right corner
28: 47,
26: 48, # end right eye
33: 18, # start left eyebrow - left corner
32: 19,
31: 20,
30: 21,
29: 22, # end left eyebrow - right corner
34: 23, # start right eyebrow - left corner
35: 24,
36: 25,
37: 26,
38: 27, # end right eyebrow - right corner
}
from head-pose-estimation.
Me too. The link in ReadMe http://aifi.isr.uc.pt/Downloads/OpenGL/glAnthropometric3DModel.cpp is not available. Could you please provide the original 3D face model points? I would really appreciate that. Thanks a lot! @lincolnhard
from head-pose-estimation.
Thank you so much for your help!
from head-pose-estimation.
i wonder where did the "object_pts_source" come from? what are those number mean?
@naftalibeder naftalibeder
@kirito12138 I had forked/modified this a while ago - here's an annotated version:
object_pts_source = [ [-7.308957, 0.913869, 0.000000], [-6.775290, -0.730814, -0.012799], [-5.665918, -3.286078, 1.022951], [-5.011779, -4.876396, 1.047961], [-4.056931, -5.947019, 1.636229], [-1.833492, -7.056977, 4.061275], [0.000000, -7.415691, 4.070434], [1.833492, -7.056977, 4.061275], [4.056931, -5.947019, 1.636229], [5.011779, -4.876396, 1.047961], [5.665918, -3.286078, 1.022951], [6.775290, -0.730814, -0.012799], [7.308957, 0.913869, 0.000000], [5.311432, 5.485328, 3.987654], [4.461908, 6.189018, 5.594410], [3.550622, 6.185143, 5.712299], [2.542231, 5.862829, 4.687939], [1.789930, 5.393625, 4.413414], [2.693583, 5.018237, 5.072837], [3.530191, 4.981603, 4.937805], [4.490323, 5.186498, 4.694397], [-5.311432, 5.485328, 3.987654], [-4.461908, 6.189018, 5.594410], [-3.550622, 6.185143, 5.712299], [-2.542231, 5.862829, 4.687939], [-1.789930, 5.393625, 4.413414], [-2.693583, 5.018237, 5.072837], [-3.530191, 4.981603, 4.937805], [-4.490323, 5.186498, 4.694397], [1.330353, 7.122144, 6.903745], [2.533424, 7.878085, 7.451034], [4.861131, 7.878672, 6.601275], [6.137002, 7.271266, 5.200823], [6.825897, 6.760612, 4.402142], [-1.330353, 7.122144, 6.903745], [-2.533424, 7.878085, 7.451034], [-4.861131, 7.878672, 6.601275], [-6.137002, 7.271266, 5.200823], [-6.825897, 6.760612, 4.402142], [-2.774015, -2.080775, 5.048531], [-0.509714, -1.571179, 6.566167], [0.000000, -1.646444, 6.704956], [0.509714, -1.571179, 6.566167], [2.774015, -2.080775, 5.048531], [0.589441, -2.958597, 6.109526], [0.000000, -3.116408, 6.097667], [-0.589441, -2.958597, 6.109526], [-0.981972, 4.554081, 6.301271], [-0.973987, 1.916389, 7.654050], [-2.005628, 1.409845, 6.165652], [-1.930245, 0.424351, 5.914376], [-0.746313, 0.348381, 6.263227], [0.000000, 0.000000, 6.763430], [0.746313, 0.348381, 6.263227], [1.930245, 0.424351, 5.914376], [2.005628, 1.409845, 6.165652], [0.973987, 1.916389, 7.654050], [0.981972, 4.554081, 6.301271], [0.000000, 1.916389, 7.700000], ]
from head-pose-estimation.
Related Issues (20)
- video_test_shape.cpp X,Y,Z 值不变? HOT 1
- object_pts 是不变的吗? HOT 3
- 不使用摄像头,使用标注好关键点的图片时,相机参数怎么设置? HOT 1
- image_pts
- Need more information about glAnthropometric3DModel.cpp HOT 7
- show angle result? HOT 3
- Video Size problem HOT 6
- Is it fine grained ?
- Increasing range of estimation. HOT 1
- HeadPose Angel (SolvePNP) (euler_angle[1, 0] giving slight wrong value) HOT 4
- Final projected box is shaky HOT 1
- Attention Detection based on head attitude estimation
- Running In VS2015
- Running time between python version and C++ version
- Where object_pts come from? HOT 1
- finding head pose looking direction
- How to get Yaw, Pitch, Roll? HOT 1
- cv::Mat does not accept four-parameter constructor HOT 1
- About dlib 68_face_landmarks.dat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from head-pose-estimation.