From b1fd3b2f2a9a65996e8ea58c0c8c70449152bc35 Mon Sep 17 00:00:00 2001 From: Yonge Bai Date: Mon, 25 Apr 2022 18:21:49 -0400 Subject: [PATCH] added a txt file of the indicies of different landmarks --- .../canonical_face_model_landmarks_indices | 0 ...canonical_face_model_landmarks_indices.txt | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices create mode 100644 mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices.txt diff --git a/mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices b/mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices new file mode 100644 index 000000000..e69de29bb diff --git a/mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices.txt b/mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices.txt new file mode 100644 index 000000000..9e3f4744b --- /dev/null +++ b/mediapipe/modules/face_geometry/data/canonical_face_model_landmarks_indices.txt @@ -0,0 +1,21 @@ +# (refine_landmarks = True) landmarks + +left_eye = [362, 382, 381, 380, 374, 373, 390, 249, 263, 466, 388, 387, 386, 385,384, 398] +left_iris = [473, 474,475, 476, 477] + +right_eye = [33, 7, 163, 144, 145, 153, 154, 155, 133, 173, 157, 158, 159, 160, 161 , 246] +right_iris = [468, 469, 470, 471, 472] + +nose_outline = [6, 122, 351, 412, 188, 114, 343, 217, 437, 198, 420, 429, 209, 279, 49, 129, 358, 327, 326, 2, 97, 98] +nose = [6, 122, 351, 412, 188, 114, 343, 217, 437, 198, 420, 429, 209, 279, 49, 129, 358, 327, 326, 2, 97, 98, 197, + 195, 5, 4, 1, 19, 94, 196, 174, 419, 399, 3, 236, 248, 456, 51, 134, 281, 363, 45, 220, 115, 275, 440, 344, + 278, 48, 102, 331, 294, 64, 240, 460, 99, 326, 290, 60, 75, 305, 235, 455, 219, 439, 344, 115, 440, 220, 45, 275, + 44, 274, 457, 237, 438, 218, 79, 309, 250, 20, 242, 462, 141, 370, 125, 354, 461, 241, 274] + +mouth_outline = [0, 267, 269, 270, 409, 291, 375, 321, 405, 314, 17, 84, 84, 181, 91, 146, 61, 185, 40, 39, 37] +mouth = [0, 267, 269, 270, 409, 291, 375, 321, 405, 314, 17, 84, 84, 181, 91, 146, 61, 185, 40, 39, 37, + 11, 302, 304, 408, 306, 307, 320, 404, 315, 16, 85, 180, 90, 77, 76, 184, 74, 73, 72, + 12, 268, 271, 272, 407, 292, 325, 319, 403, 316, 15, 86, 179, 89, 96, 62, 78, 191, 80, 81, 82, + 13, 312, 311, 310, 415, 308, 324, 318, 402, 317, 14, 87, 178, 88, 95] + +jaw_line = [93, 323, 361, 288, 397, 365, 379, 378, 400, 377, 152, 148, 176, 149, 150, 136, 172, 58, 132]