Open2
dlib Face Landmark Keypoints
"""
"chin": points[0:17],
"left_eyebrow": points[17:22],
"right_eyebrow": points[22:27],
"nose_bridge": points[27:31],
"nose_tip": points[31:36],
"left_eye": points[36:42],
"right_eye": points[42:48],
"top_lip": points[48:55] + [points[64]] + [points[63]] + [points[62]] + [points[61]] + [points[60]],
"bottom_lip": points[54:60] + [points[48]] + [points[60]] + [points[67]] + [points[66]] + [points[65]] + [points[64]]
"""
FACIAL_LANDMARK_POINTS_INDEX = {
"chin": [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],
"left_eyebrow": [17,18,19,20,21],
"right_eyebrow": [22,23,24,25,26],
"nose_bridge": [27,28,29,30],
"nose_tip": [31,32,33,34,35],
"left_eye": [36,37,38,39,40,41],
"right_eye": [42,43,44,45,46,47],
"top_lip": [48,49,50,51,52,53,54,64,63,62,61,60],
"bottom_lip": [54,55,56,57,58,59,48,60,67,66,65,64],
"chin_extrapolated": [68,69,70,71,72, 73,74,75,76,77, 78,79,80,81,82, 83,84,85,86,87, 88,89,90,91,92, 93,94,95,96,97, 98,99,100,101,102]
}