Skip to main content

AILabTools API - Facial Landmarks - API

Request

  • URL: https://www.ailabapi.com/api/portrait/analysis/face-key-points
  • Method: POST
  • Content-Type: multipart/form-data

Image requirements

  • Image format: JPEG JPG BMP PNG
  • Image size: No more than 8 MB.
  • Image resolution: Less than 1920x1080px.
FieldRequiredTypeDescription
ailabapi-api-keyYESstringApplication API KEY. Get API KEY

Body

FieldRequiredTypeScopeDefaultExampleDescription
imageYESfile
max_face_numNOinteger
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 1The maximum number of faces to process. The default value is 1 (only the face with the largest area in the image is detected).
    face_fieldNOstring
  • age
  • gender
  • landmark4
  • landmark72
  • landmark150
  • landmark201
  • age,gender,landmark4Returns more information about the face (by default only face_token, face frame, probability and rotation angle are returned).
  • age: Age information.
  • gender: Gender information.
  • landmark4: 4 feature points.
  • landmark72: 72 feature points.
  • landmark150: 150 feature points.
  • landmark201: 201 feature points.
  • Response

    Processing Flow
    1. Handle Public Parameters:

      First, parse and validate the Public Parameters, checking the status code or response message to ensure the request is successful and no errors are present.

    2. Handle Business Parameters:

      If the public parameters are valid and no exceptions are found, proceed to process the business logic in the Business Parameters.

    Public Parameters

    Viewing Public Parameters and Error Codes

    Business Parameters

    FieldTypeScopeDescription
    resultobjectThe content of the result data returned.
    +face_numintegerThe number of faces in the picture.
    +face_listarrayList of face information.
    ++face_tokenstringFace Token.
    ++locationobjectThe position of the face in the picture.
    +++leftfloatThe distance of the face area from the left border.
    +++topfloatThe distance of the face area from the upper boundary.
    +++widthfloatThe width of the face area.
    +++heightfloatThe height of the face area.
    +++rotationinteger[-180, 180]The clockwise rotation angle of the face frame with respect to the vertical direction.
    ++face_probabilityfloat[0, 1]Face confidence.
    ++angleobjectFace rotation parameters, refer to Face Spatial Pose Angle Reference for detailed description.
    +++yawfloat[-90, 90]The left and right rotation angle of 3D rotation.
    +++pitchfloat[-90, 90]Three-dimensional rotation of the pitch angle.
    +++rollfloat[-180, 180]In-plane rotation angle.
    ++agefloatAge.
    ++genderobjectGender information.
    +++typestring
  • male
  • female
  • +++probabilityfloat[0, 1]Gender confidence.
    ++landmark4array4 feature points.
    ++landmark72array72 feature points. Refer to 72 feature points for details.
    ++landmark150object150 feature points. Refer to 150 feature points for details.
    ++landmark201object201 feature points. Refer to 201 feature points for details.

    Example

    JSON
    {
    "request_id": "",
    "log_id": "",
    "error_code": 0,
    "error_code_str": "",
    "error_msg": "",
    "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
    },
    "result": {
    "face_num": "",
    "face_list": [
    {
    "face_token": "",
    "location": {
    "left": 0,
    "top": 0,
    "width": 0,
    "height": 0,
    "rotation": 0
    }
    }
    ],
    "face_probability": 0,
    "angle": [
    {
    "yaw": 0,
    "pitch": 0,
    "roll": 0
    }
    ],
    "age": 0,
    "gender": [
    {
    "type": "",
    "probability": 0
    }
    ],
    "landmark4": [],
    "landmark72": [],
    "landmark150": {},
    "landmark201": {}
    }
    }
    landmark4
    [
    {
    "x": 148.37,
    "y": 100.59
    },
    {
    "x": 234.82,
    "y": 90.52
    },
    {
    "x": 199.34,
    "y": 135.81
    },
    {
    "x": 203.17,
    "y": 179.29
    }
    ]
    landmark72
    [
    {
    "x": 100.08,
    "y": 122.9
    },
    {
    "x": 106.77,
    "y": 149.07
    },
    {
    "x": 115.46,
    "y": 174.85
    },
    {
    "x": 127.3,
    "y": 199.99
    },
    {
    "x": 151.98,
    "y": 222.51
    },
    {
    "x": 181.8,
    "y": 235.05
    },
    {
    "x": 209.56,
    "y": 236.15
    },
    {
    "x": 235.09,
    "y": 227.11
    },
    {
    "x": 259.5,
    "y": 205.96
    },
    {
    "x": 274.62,
    "y": 178.35
    },
    {
    "x": 279.28,
    "y": 151.9
    },
    {
    "x": 280.94,
    "y": 125.59
    },
    {
    "x": 280.4,
    "y": 99.89
    },
    {
    "x": 128.11,
    "y": 106.45
    },
    {
    "x": 136.37,
    "y": 97.92
    },
    {
    "x": 146.18,
    "y": 94.09
    },
    {
    "x": 156.75,
    "y": 95.54
    },
    {
    "x": 167.29,
    "y": 102.81
    },
    {
    "x": 157.75,
    "y": 105.5
    },
    {
    "x": 147.51,
    "y": 107.65
    },
    {
    "x": 137.1,
    "y": 108.02
    },
    {
    "x": 148.37,
    "y": 100.59
    },
    {
    "x": 111.06,
    "y": 88.35
    },
    {
    "x": 120.9,
    "y": 71.46
    },
    {
    "x": 136.29,
    "y": 64.57
    },
    {
    "x": 152.5,
    "y": 62.86
    },
    {
    "x": 168.22,
    "y": 70.9
    },
    {
    "x": 153.23,
    "y": 72.9
    },
    {
    "x": 137.92,
    "y": 74.23
    },
    {
    "x": 123.75,
    "y": 79.02
    },
    {
    "x": 217.95,
    "y": 97.14
    },
    {
    "x": 226.23,
    "y": 87.37
    },
    {
    "x": 236.37,
    "y": 83.63
    },
    {
    "x": 246.55,
    "y": 84.88
    },
    {
    "x": 256.18,
    "y": 91.67
    },
    {
    "x": 248.15,
    "y": 95.06
    },
    {
    "x": 238.3,
    "y": 97.02
    },
    {
    "x": 227.85,
    "y": 97.26
    },
    {
    "x": 234.82,
    "y": 90.52
    },
    {
    "x": 210.71,
    "y": 65.97
    },
    {
    "x": 223.61,
    "y": 54.58
    },
    {
    "x": 238.8,
    "y": 52.63
    },
    {
    "x": 254.62,
    "y": 55.99
    },
    {
    "x": 266.84,
    "y": 69.55
    },
    {
    "x": 253.78,
    "y": 63.55
    },
    {
    "x": 239.71,
    "y": 62.6
    },
    {
    "x": 225.24,
    "y": 64.54
    },
    {
    "x": 181.11,
    "y": 101.65
    },
    {
    "x": 179.98,
    "y": 117.06
    },
    {
    "x": 178.41,
    "y": 132.61
    },
    {
    "x": 174.58,
    "y": 150.84
    },
    {
    "x": 187.7,
    "y": 148.58
    },
    {
    "x": 212.42,
    "y": 145.66
    },
    {
    "x": 223.67,
    "y": 144.55
    },
    {
    "x": 215.58,
    "y": 127.75
    },
    {
    "x": 210.32,
    "y": 113.35
    },
    {
    "x": 205.05,
    "y": 98.7
    },
    {
    "x": 199.34,
    "y": 135.81
    },
    {
    "x": 164.93,
    "y": 181.13
    },
    {
    "x": 183.01,
    "y": 172.43
    },
    {
    "x": 202.75,
    "y": 169.17
    },
    {
    "x": 221.78,
    "y": 167.99
    },
    {
    "x": 238.94,
    "y": 172.43
    },
    {
    "x": 224.92,
    "y": 186.73
    },
    {
    "x": 204.97,
    "y": 193.61
    },
    {
    "x": 183.27,
    "y": 191.76
    },
    {
    "x": 184.52,
    "y": 179
    },
    {
    "x": 203.5,
    "y": 177.11
    },
    {
    "x": 221.54,
    "y": 174.5
    },
    {
    "x": 221.62,
    "y": 178.9
    },
    {
    "x": 203.77,
    "y": 182.13
    },
    {
    "x": 184.82,
    "y": 183.2
    }
    ]
    landmark150
    {
    "cheek_right_1": {
    "x": 101.17,
    "y": 125.61
    },
    "cheek_right_3": {
    "x": 108.34,
    "y": 151.5
    },
    "cheek_right_5": {
    "x": 117.67,
    "y": 177.31
    },
    "cheek_right_7": {
    "x": 130.68,
    "y": 202.68
    },
    "cheek_right_9": {
    "x": 155.9,
    "y": 224.62
    },
    "cheek_right_11": {
    "x": 183.48,
    "y": 237
    },
    "chin_2": {
    "x": 209.95,
    "y": 239.3
    },
    "cheek_left_11": {
    "x": 235.23,
    "y": 228.95
    },
    "cheek_left_9": {
    "x": 258.09,
    "y": 207.98
    },
    "cheek_left_7": {
    "x": 273.18,
    "y": 182.04
    },
    "cheek_left_5": {
    "x": 278.9,
    "y": 155.82
    },
    "cheek_left_3": {
    "x": 281.37,
    "y": 129.89
    },
    "cheek_left_1": {
    "x": 281.27,
    "y": 104
    },
    "eye_right_corner_right": {
    "x": 126.49,
    "y": 107.15
    },
    "eye_right_eyelid_upper_2": {
    "x": 135.48,
    "y": 99.09
    },
    "eye_right_eyelid_upper_4": {
    "x": 145.41,
    "y": 95.26
    },
    "eye_right_eyelid_upper_6": {
    "x": 156.55,
    "y": 95.97
    },
    "eye_right_corner_left": {
    "x": 167.67,
    "y": 102.29
    },
    "eye_right_eyelid_lower_6": {
    "x": 157.7,
    "y": 105.12
    },
    "eye_right_eyelid_lower_4": {
    "x": 147.3,
    "y": 107.23
    },
    "eye_right_eyelid_lower_2": {
    "x": 136.69,
    "y": 107.99
    },
    "eye_right_eyeball_center": {
    "x": 147.73,
    "y": 101.24
    },
    "eyebrow_right_corner_right": {
    "x": 110.57,
    "y": 89.54
    },
    "eyebrow_right_upper_2": {
    "x": 120.47,
    "y": 73.12
    },
    "eyebrow_right_upper_3": {
    "x": 135.87,
    "y": 65.44
    },
    "eyebrow_right_upper_4": {
    "x": 152.49,
    "y": 62.99
    },
    "eyebrow_right_corner_left": {
    "x": 168.56,
    "y": 71.02
    },
    "eyebrow_right_lower_3": {
    "x": 153.5,
    "y": 73.48
    },
    "eyebrow_right_lower_2": {
    "x": 137.76,
    "y": 75.1
    },
    "eyebrow_right_lower_1": {
    "x": 123.22,
    "y": 80.01
    },
    "eye_left_corner_right": {
    "x": 217.73,
    "y": 96.79
    },
    "eye_left_eyelid_upper_2": {
    "x": 226.52,
    "y": 87.81
    },
    "eye_left_eyelid_upper_4": {
    "x": 236.75,
    "y": 84.47
    },
    "eye_left_eyelid_upper_6": {
    "x": 246.87,
    "y": 85.94
    },
    "eye_left_corner_left": {
    "x": 256.55,
    "y": 92.03
    },
    "eye_left_eyelid_lower_6": {
    "x": 248.11,
    "y": 94.97
    },
    "eye_left_eyelid_lower_4": {
    "x": 238.51,
    "y": 96.62
    },
    "eye_left_eyelid_lower_2": {
    "x": 227.92,
    "y": 97.09
    },
    "eye_left_eyeball_center": {
    "x": 234.6,
    "y": 91.21
    },
    "eyebrow_left_corner_right": {
    "x": 209.77,
    "y": 65.78
    },
    "eyebrow_left_upper_2": {
    "x": 222.84,
    "y": 54.59
    },
    "eyebrow_left_upper_3": {
    "x": 238.19,
    "y": 53.33
    },
    "eyebrow_left_upper_4": {
    "x": 253.34,
    "y": 57.53
    },
    "eyebrow_left_corner_left": {
    "x": 265.02,
    "y": 71.1
    },
    "eyebrow_left_lower_3": {
    "x": 252.29,
    "y": 65.16
    },
    "eyebrow_left_lower_2": {
    "x": 238.71,
    "y": 63.77
    },
    "eyebrow_left_lower_1": {
    "x": 224.35,
    "y": 65.26
    },
    "nose_right_contour_1": {
    "x": 181.9,
    "y": 101.3
    },
    "nose_right_contour_2": {
    "x": 181.22,
    "y": 116.47
    },
    "nose_right_contour_3": {
    "x": 180.7,
    "y": 131.63
    },
    "nose_right_contour_4": {
    "x": 175.99,
    "y": 149.51
    },
    "nose_right_contour_6": {
    "x": 189.48,
    "y": 147.54
    },
    "nose_left_contour_6": {
    "x": 212.47,
    "y": 145.01
    },
    "nose_left_contour_4": {
    "x": 224.05,
    "y": 143.94
    },
    "nose_left_contour_3": {
    "x": 216.34,
    "y": 127.18
    },
    "nose_left_contour_2": {
    "x": 211.14,
    "y": 112.7
    },
    "nose_left_contour_1": {
    "x": 205.92,
    "y": 98.39
    },
    "nose_tip": {
    "x": 200.89,
    "y": 133.62
    },
    "mouth_corner_right_outer": {
    "x": 162.41,
    "y": 181.04
    },
    "mouth_lip_upper_outer_3": {
    "x": 181.13,
    "y": 171.24
    },
    "mouth_lip_upper_outer_6": {
    "x": 202.44,
    "y": 167.4
    },
    "mouth_lip_upper_outer_9": {
    "x": 222.59,
    "y": 166.76
    },
    "mouth_corner_left_outer": {
    "x": 240.34,
    "y": 172.33
    },
    "mouth_lip_lower_outer_9": {
    "x": 224.86,
    "y": 187.02
    },
    "mouth_lip_lower_outer_6": {
    "x": 204.89,
    "y": 193.86
    },
    "mouth_lip_lower_outer_3": {
    "x": 182.58,
    "y": 191.98
    },
    "mouth_lip_upper_inner_3": {
    "x": 182.7,
    "y": 177.96
    },
    "mouth_lip_upper_inner_6": {
    "x": 203.38,
    "y": 176.09
    },
    "mouth_lip_upper_inner_9": {
    "x": 222.51,
    "y": 173.73
    },
    "mouth_lip_lower_inner_9": {
    "x": 221.9,
    "y": 179.01
    },
    "mouth_lip_lower_inner_6": {
    "x": 203.69,
    "y": 182.54
    },
    "mouth_lip_lower_inner_3": {
    "x": 183.96,
    "y": 183.65
    },
    "cheek_right_2": {
    "x": 104.6,
    "y": 138.43
    },
    "cheek_right_4": {
    "x": 112.96,
    "y": 164.49
    },
    "cheek_right_6": {
    "x": 123.26,
    "y": 190.89
    },
    "cheek_right_8": {
    "x": 142.17,
    "y": 214.95
    },
    "cheek_right_10": {
    "x": 169.18,
    "y": 232.05
    },
    "chin_1": {
    "x": 196.41,
    "y": 239.76
    },
    "chin_3": {
    "x": 223.56,
    "y": 235.7
    },
    "cheek_left_10": {
    "x": 247.53,
    "y": 219.37
    },
    "cheek_left_8": {
    "x": 266.71,
    "y": 195.68
    },
    "cheek_left_6": {
    "x": 276.63,
    "y": 169.29
    },
    "cheek_left_4": {
    "x": 280.27,
    "y": 142.91
    },
    "cheek_left_2": {
    "x": 281.37,
    "y": 116.87
    },
    "eyebrow_right_upper_1": {
    "x": 110.33,
    "y": 86.28
    },
    "eyebrow_right_upper_5": {
    "x": 167.9,
    "y": 65.41
    },
    "eyebrow_left_upper_1": {
    "x": 209.28,
    "y": 60.27
    },
    "eyebrow_left_upper_5": {
    "x": 264.85,
    "y": 68.07
    },
    "eye_right_eyelid_upper_1": {
    "x": 130.38,
    "y": 102.52
    },
    "eye_right_eyelid_upper_3": {
    "x": 140.08,
    "y": 96.4
    },
    "eye_right_eyelid_upper_5": {
    "x": 151.2,
    "y": 94.82
    },
    "eye_right_eyelid_upper_7": {
    "x": 162.52,
    "y": 98.42
    },
    "eye_right_eyelid_lower_7": {
    "x": 162.65,
    "y": 103.84
    },
    "eye_right_eyelid_lower_5": {
    "x": 152.66,
    "y": 106.6
    },
    "eye_right_eyelid_lower_3": {
    "x": 142,
    "y": 108.14
    },
    "eye_right_eyelid_lower_1": {
    "x": 131.72,
    "y": 107.84
    },
    "eye_right_eyeball_right": {
    "x": 138.8,
    "y": 103.02
    },
    "eye_right_eyeball_left": {
    "x": 156.44,
    "y": 100.95
    },
    "eye_left_eyelid_upper_1": {
    "x": 221.4,
    "y": 91.57
    },
    "eye_left_eyelid_upper_3": {
    "x": 231.34,
    "y": 85.37
    },
    "eye_left_eyelid_upper_5": {
    "x": 242.07,
    "y": 84.4
    },
    "eye_left_eyelid_upper_7": {
    "x": 252.15,
    "y": 88.32
    },
    "eye_left_eyelid_lower_7": {
    "x": 252.22,
    "y": 93.63
    },
    "eye_left_eyelid_lower_5": {
    "x": 243.5,
    "y": 96.25
    },
    "eye_left_eyelid_lower_3": {
    "x": 233.22,
    "y": 97.32
    },
    "eye_left_eyelid_lower_1": {
    "x": 222.85,
    "y": 97.09
    },
    "eye_left_eyeball_right": {
    "x": 226.11,
    "y": 92.86
    },
    "eye_left_eyeball_left": {
    "x": 243.41,
    "y": 90.77
    },
    "nose_bridge_1": {
    "x": 194.72,
    "y": 99.62
    },
    "nose_bridge_2": {
    "x": 197.27,
    "y": 114.38
    },
    "nose_bridge_3": {
    "x": 199.84,
    "y": 129.18
    },
    "nose_right_contour_5": {
    "x": 184.36,
    "y": 154.78
    },
    "nose_right_contour_7": {
    "x": 187.97,
    "y": 142.32
    },
    "nose_left_contour_7": {
    "x": 212.98,
    "y": 139.24
    },
    "nose_left_contour_5": {
    "x": 217.81,
    "y": 151.08
    },
    "nose_middle_contour": {
    "x": 201.68,
    "y": 154.12
    },
    "mouth_corner_right_inner": {
    "x": 165.3,
    "y": 181
    },
    "mouth_corner_left_inner": {
    "x": 237.92,
    "y": 172.84
    },
    "mouth_lip_upper_outer_1": {
    "x": 168.01,
    "y": 176.99
    },
    "mouth_lip_upper_outer_2": {
    "x": 174.3,
    "y": 173.78
    },
    "mouth_lip_upper_outer_4": {
    "x": 187.89,
    "y": 168.51
    },
    "mouth_lip_upper_outer_5": {
    "x": 194.93,
    "y": 167.13
    },
    "mouth_lip_upper_outer_7": {
    "x": 209.22,
    "y": 165.76
    },
    "mouth_lip_upper_outer_8": {
    "x": 215.94,
    "y": 165.52
    },
    "mouth_lip_upper_outer_10": {
    "x": 229.05,
    "y": 167.86
    },
    "mouth_lip_upper_outer_11": {
    "x": 234.91,
    "y": 169.69
    },
    "mouth_lip_lower_outer_11": {
    "x": 235.77,
    "y": 177.88
    },
    "mouth_lip_lower_outer_10": {
    "x": 230.91,
    "y": 182.95
    },
    "mouth_lip_lower_outer_8": {
    "x": 218.84,
    "y": 190.53
    },
    "mouth_lip_lower_outer_7": {
    "x": 212.21,
    "y": 192.9
    },
    "mouth_lip_lower_outer_5": {
    "x": 197.36,
    "y": 194.88
    },
    "mouth_lip_lower_outer_4": {
    "x": 189.8,
    "y": 194.21
    },
    "mouth_lip_lower_outer_2": {
    "x": 175.21,
    "y": 189.57
    },
    "mouth_lip_lower_outer_1": {
    "x": 168.57,
    "y": 185.65
    },
    "mouth_lip_upper_inner_1": {
    "x": 169.33,
    "y": 179.63
    },
    "mouth_lip_upper_inner_2": {
    "x": 175.82,
    "y": 178.66
    },
    "mouth_lip_upper_inner_4": {
    "x": 189.52,
    "y": 176.75
    },
    "mouth_lip_upper_inner_5": {
    "x": 196.11,
    "y": 176.01
    },
    "mouth_lip_upper_inner_7": {
    "x": 209.81,
    "y": 174.66
    },
    "mouth_lip_upper_inner_8": {
    "x": 216.02,
    "y": 173.94
    },
    "mouth_lip_upper_inner_10": {
    "x": 228.56,
    "y": 172.95
    },
    "mouth_lip_upper_inner_11": {
    "x": 234.11,
    "y": 172.49
    },
    "mouth_lip_lower_inner_11": {
    "x": 234.25,
    "y": 175.35
    },
    "mouth_lip_lower_inner_10": {
    "x": 228.41,
    "y": 177.24
    },
    "mouth_lip_lower_inner_8": {
    "x": 215.75,
    "y": 180.22
    },
    "mouth_lip_lower_inner_7": {
    "x": 209.89,
    "y": 181.33
    },
    "mouth_lip_lower_inner_5": {
    "x": 197.09,
    "y": 183.02
    },
    "mouth_lip_lower_inner_4": {
    "x": 190.67,
    "y": 183.38
    },
    "mouth_lip_lower_inner_2": {
    "x": 176.59,
    "y": 183.43
    },
    "mouth_lip_lower_inner_1": {
    "x": 169.73,
    "y": 182.83
    }
    }
    landmark201
    {
    "cheek_right_1": {
    "x": 100.50280761719,
    "y": 122.91817474365
    },
    "cheek_right_3": {
    "x": 107.60373687744,
    "y": 148.26614379883
    },
    "cheek_right_5": {
    "x": 117.18408966064,
    "y": 173.37020874023
    },
    "cheek_right_7": {
    "x": 129.51084899902,
    "y": 198.14645385742
    },
    "cheek_right_9": {
    "x": 153.17233276367,
    "y": 221.0482635498
    },
    "cheek_right_11": {
    "x": 182.12239074707,
    "y": 236.04145812988
    },
    "chin_2": {
    "x": 209.19718933105,
    "y": 238.74569702148
    },
    "cheek_left_11": {
    "x": 233.98812866211,
    "y": 228.61196899414
    },
    "cheek_left_9": {
    "x": 257.15982055664,
    "y": 206.74928283691
    },
    "cheek_left_7": {
    "x": 273.24240112305,
    "y": 179.74179077148
    },
    "cheek_left_5": {
    "x": 278.9245300293,
    "y": 153.36854553223
    },
    "cheek_left_3": {
    "x": 281.60067749023,
    "y": 127.45653533936
    },
    "cheek_left_1": {
    "x": 281.65811157227,
    "y": 101.97602844238
    },
    "eye_right_corner_right": {
    "x": 126.41732025146,
    "y": 106.01263427734
    },
    "eye_right_eyelid_upper_2": {
    "x": 135.80418395996,
    "y": 98.718200683594
    },
    "eye_right_eyelid_upper_4": {
    "x": 146.0609588623,
    "y": 95.352470397949
    },
    "eye_right_eyelid_upper_6": {
    "x": 156.98849487305,
    "y": 96.707542419434
    },
    "eye_right_corner_left": {
    "x": 167.77938842773,
    "y": 103.75801086426
    },
    "eye_right_eyelid_lower_6": {
    "x": 157.17764282227,
    "y": 105.32893371582
    },
    "eye_right_eyelid_lower_4": {
    "x": 146.6658782959,
    "y": 107.00431060791
    },
    "eye_right_eyelid_lower_2": {
    "x": 136.29998779297,
    "y": 107.18744659424
    },
    "eye_right_eyeball_center": {
    "x": 149.03952026367,
    "y": 100.88204193115
    },
    "eyebrow_right_corner_right": {
    "x": 111.89064025879,
    "y": 89.201026916504
    },
    "eyebrow_right_upper_2": {
    "x": 122.31422424316,
    "y": 73.421539306641
    },
    "eyebrow_right_upper_3": {
    "x": 137.08978271484,
    "y": 66.036170959473
    },
    "eyebrow_right_upper_4": {
    "x": 153.29194641113,
    "y": 63.859962463379
    },
    "eyebrow_right_corner_left": {
    "x": 169.60948181152,
    "y": 71.236366271973
    },
    "eyebrow_right_lower_3": {
    "x": 154.23251342773,
    "y": 73.722877502441
    },
    "eyebrow_right_lower_2": {
    "x": 139.03732299805,
    "y": 75.76969909668
    },
    "eyebrow_right_lower_1": {
    "x": 124.95774078369,
    "y": 80.54305267334
    },
    "eye_left_corner_right": {
    "x": 217.01159667969,
    "y": 97.617874145508
    },
    "eye_left_eyelid_upper_2": {
    "x": 226.2021484375,
    "y": 88.830413818359
    },
    "eye_left_eyelid_upper_4": {
    "x": 236.49551391602,
    "y": 85.042304992676
    },
    "eye_left_eyelid_upper_6": {
    "x": 247.1067199707,
    "y": 85.98779296875
    },
    "eye_left_corner_left": {
    "x": 257.17602539062,
    "y": 91.660705566406
    },
    "eye_left_eyelid_lower_6": {
    "x": 248.03689575195,
    "y": 94.483413696289
    },
    "eye_left_eyelid_lower_4": {
    "x": 237.9640045166,
    "y": 96.363983154297
    },
    "eye_left_eyelid_lower_2": {
    "x": 227.42778015137,
    "y": 96.841079711914
    },
    "eye_left_eyeball_center": {
    "x": 236.41227722168,
    "y": 90.83772277832
    },
    "eyebrow_left_corner_right": {
    "x": 210.22798156738,
    "y": 66.922027587891
    },
    "eyebrow_left_upper_2": {
    "x": 223.81993103027,
    "y": 56.301136016846
    },
    "eyebrow_left_upper_3": {
    "x": 239.48515319824,
    "y": 54.885005950928
    },
    "eyebrow_left_upper_4": {
    "x": 254.61218261719,
    "y": 58.917163848877
    },
    "eyebrow_left_corner_left": {
    "x": 266.93252563477,
    "y": 71.747833251953
    },
    "eyebrow_left_lower_3": {
    "x": 253.65521240234,
    "y": 66.255722045898
    },
    "eyebrow_left_lower_2": {
    "x": 239.84336853027,
    "y": 64.663993835449
    },
    "eyebrow_left_lower_1": {
    "x": 225.20980834961,
    "y": 65.903739929199
    },
    "nose_right_contour_1": {
    "x": 181.20947265625,
    "y": 102.47806549072
    },
    "nose_right_contour_2": {
    "x": 180.53022766113,
    "y": 117.22489929199
    },
    "nose_right_contour_3": {
    "x": 179.75746154785,
    "y": 131.87655639648
    },
    "nose_right_contour_4": {
    "x": 175.17123413086,
    "y": 149.65969848633
    },
    "nose_right_contour_6": {
    "x": 187.9427947998,
    "y": 148.60627746582
    },
    "nose_left_contour_6": {
    "x": 211.91970825195,
    "y": 146.00950622559
    },
    "nose_left_contour_4": {
    "x": 223.48764038086,
    "y": 144.13488769531
    },
    "nose_left_contour_3": {
    "x": 215.23889160156,
    "y": 127.75564575195
    },
    "nose_left_contour_2": {
    "x": 210.45150756836,
    "y": 113.83534240723
    },
    "nose_left_contour_1": {
    "x": 205.66767883301,
    "y": 99.799003601074
    },
    "nose_tip": {
    "x": 199.36351013184,
    "y": 135.43583679199
    },
    "mouth_corner_right_outer": {
    "x": 164.51684570312,
    "y": 180.21446228027
    },
    "mouth_lip_upper_outer_3": {
    "x": 183.04803466797,
    "y": 173.05368041992
    },
    "mouth_lip_upper_outer_6": {
    "x": 202.40353393555,
    "y": 169.86236572266
    },
    "mouth_lip_upper_outer_9": {
    "x": 221.34548950195,
    "y": 168.33967590332
    },
    "mouth_corner_left_outer": {
    "x": 239.35760498047,
    "y": 171.47436523438
    },
    "mouth_lip_lower_outer_9": {
    "x": 225.13409423828,
    "y": 186.8864440918
    },
    "mouth_lip_lower_outer_6": {
    "x": 205.00257873535,
    "y": 194.42323303223
    },
    "mouth_lip_lower_outer_3": {
    "x": 183.21276855469,
    "y": 191.83988952637
    },
    "mouth_lip_upper_inner_3": {
    "x": 184.11585998535,
    "y": 179.77445983887
    },
    "mouth_lip_upper_inner_6": {
    "x": 203.41976928711,
    "y": 178.58102416992
    },
    "mouth_lip_upper_inner_9": {
    "x": 221.72236633301,
    "y": 175.30459594727
    },
    "mouth_lip_lower_inner_9": {
    "x": 221.91030883789,
    "y": 178.33660888672
    },
    "mouth_lip_lower_inner_6": {
    "x": 203.65730285645,
    "y": 182.15875244141
    },
    "mouth_lip_lower_inner_3": {
    "x": 184.51734924316,
    "y": 182.77604675293
    },
    "cheek_right_2": {
    "x": 103.98864746094,
    "y": 135.52793884277
    },
    "cheek_right_4": {
    "x": 112.40145874023,
    "y": 160.84996032715
    },
    "cheek_right_6": {
    "x": 122.82944488525,
    "y": 186.40303039551
    },
    "cheek_right_8": {
    "x": 140.21722412109,
    "y": 210.5570526123
    },
    "cheek_right_10": {
    "x": 167.3126373291,
    "y": 229.57949829102
    },
    "chin_1": {
    "x": 195.2822265625,
    "y": 239.18600463867
    },
    "chin_3": {
    "x": 222.51171875,
    "y": 235.33393859863
    },
    "cheek_left_10": {
    "x": 246.1284942627,
    "y": 218.42253112793
    },
    "cheek_left_8": {
    "x": 266.35614013672,
    "y": 193.8251953125
    },
    "cheek_left_6": {
    "x": 276.64300537109,
    "y": 166.97787475586
    },
    "cheek_left_4": {
    "x": 280.34902954102,
    "y": 140.4186706543
    },
    "cheek_left_2": {
    "x": 281.71441650391,
    "y": 114.67360687256
    },
    "eyebrow_right_upper_1": {
    "x": 111.35711669922,
    "y": 86.627182006836
    },
    "eyebrow_right_upper_5": {
    "x": 168.99195861816,
    "y": 66.651916503906
    },
    "eyebrow_left_upper_1": {
    "x": 209.73815917969,
    "y": 62.367111206055
    },
    "eyebrow_left_upper_5": {
    "x": 266.84356689453,
    "y": 69.139381408691
    },
    "eye_right_eyelid_upper_1": {
    "x": 130.77444458008,
    "y": 101.91876983643
    },
    "eye_right_eyelid_upper_3": {
    "x": 140.63957214355,
    "y": 96.40283203125
    },
    "eye_right_eyelid_upper_5": {
    "x": 151.72430419922,
    "y": 95.306747436523
    },
    "eye_right_eyelid_upper_7": {
    "x": 162.74897766113,
    "y": 99.496116638184
    },
    "eye_right_eyelid_lower_7": {
    "x": 162.38629150391,
    "y": 104.49882507324
    },
    "eye_right_eyelid_lower_5": {
    "x": 151.98274230957,
    "y": 106.52454376221
    },
    "eye_right_eyelid_lower_3": {
    "x": 141.43927001953,
    "y": 107.55311584473
    },
    "eye_right_eyelid_lower_1": {
    "x": 131.48648071289,
    "y": 106.77459716797
    },
    "eye_right_eyeball_right": {
    "x": 140.33833312988,
    "y": 102.34557342529
    },
    "eye_right_eyeball_left": {
    "x": 157.28521728516,
    "y": 100.5290222168
    },
    "eye_left_eyelid_upper_1": {
    "x": 221.15461730957,
    "y": 92.644577026367
    },
    "eye_left_eyelid_upper_3": {
    "x": 231.00561523438,
    "y": 86.285903930664
    },
    "eye_left_eyelid_upper_5": {
    "x": 241.99041748047,
    "y": 84.785552978516
    },
    "eye_left_eyelid_upper_7": {
    "x": 252.52342224121,
    "y": 88.264419555664
    },
    "eye_left_eyelid_lower_7": {
    "x": 252.53790283203,
    "y": 93.202026367188
    },
    "eye_left_eyelid_lower_5": {
    "x": 243.14991760254,
    "y": 95.852195739746
    },
    "eye_left_eyelid_lower_3": {
    "x": 232.71337890625,
    "y": 96.973175048828
    },
    "eye_left_eyelid_lower_1": {
    "x": 222.30973815918,
    "y": 97.109771728516
    },
    "eye_left_eyeball_right": {
    "x": 227.80111694336,
    "y": 92.332466125488
    },
    "eye_left_eyeball_left": {
    "x": 245.25280761719,
    "y": 90.477554321289
    },
    "nose_bridge_1": {
    "x": 194.00415039062,
    "y": 101.13747406006
    },
    "nose_bridge_2": {
    "x": 196.17010498047,
    "y": 115.36420440674
    },
    "nose_bridge_3": {
    "x": 198.33186340332,
    "y": 129.53858947754
    },
    "nose_right_contour_5": {
    "x": 183.04495239258,
    "y": 155.09115600586
    },
    "nose_right_contour_7": {
    "x": 186.44073486328,
    "y": 144.0689239502
    },
    "nose_left_contour_7": {
    "x": 212.54084777832,
    "y": 141.23469543457
    },
    "nose_left_contour_5": {
    "x": 217.43865966797,
    "y": 151.00485229492
    },
    "nose_middle_contour": {
    "x": 200.85198974609,
    "y": 154.55256652832
    },
    "mouth_corner_right_inner": {
    "x": 167.02519226074,
    "y": 180.40368652344
    },
    "mouth_corner_left_inner": {
    "x": 237.12232971191,
    "y": 172.1975402832
    },
    "mouth_lip_upper_outer_1": {
    "x": 170.21281433105,
    "y": 177.35729980469
    },
    "mouth_lip_upper_outer_2": {
    "x": 176.45417785645,
    "y": 174.93753051758
    },
    "mouth_lip_upper_outer_4": {
    "x": 189.13919067383,
    "y": 170.50596618652
    },
    "mouth_lip_upper_outer_5": {
    "x": 195.6019744873,
    "y": 169.47576904297
    },
    "mouth_lip_upper_outer_7": {
    "x": 208.75428771973,
    "y": 167.95617675781
    },
    "mouth_lip_upper_outer_8": {
    "x": 215.07498168945,
    "y": 167.36375427246
    },
    "mouth_lip_upper_outer_10": {
    "x": 227.73937988281,
    "y": 168.76318359375
    },
    "mouth_lip_upper_outer_11": {
    "x": 233.7864074707,
    "y": 169.83984375
    },
    "mouth_lip_lower_outer_11": {
    "x": 235.34422302246,
    "y": 177.24853515625
    },
    "mouth_lip_lower_outer_10": {
    "x": 230.79676818848,
    "y": 182.67813110352
    },
    "mouth_lip_lower_outer_8": {
    "x": 219.44760131836,
    "y": 191.05749511719
    },
    "mouth_lip_lower_outer_7": {
    "x": 212.53646850586,
    "y": 193.67753601074
    },
    "mouth_lip_lower_outer_5": {
    "x": 197.43534851074,
    "y": 195.48767089844
    },
    "mouth_lip_lower_outer_4": {
    "x": 189.89576721191,
    "y": 194.59895324707
    },
    "mouth_lip_lower_outer_2": {
    "x": 176.30549621582,
    "y": 189.13090515137
    },
    "mouth_lip_lower_outer_1": {
    "x": 170.18327331543,
    "y": 184.91101074219
    },
    "mouth_lip_upper_inner_1": {
    "x": 171.22261047363,
    "y": 179.89912414551
    },
    "mouth_lip_upper_inner_2": {
    "x": 177.46989440918,
    "y": 179.81153869629
    },
    "mouth_lip_upper_inner_4": {
    "x": 190.59698486328,
    "y": 179.11518859863
    },
    "mouth_lip_upper_inner_5": {
    "x": 196.8454284668,
    "y": 178.71240234375
    },
    "mouth_lip_upper_inner_7": {
    "x": 209.58256530762,
    "y": 177.28843688965
    },
    "mouth_lip_upper_inner_8": {
    "x": 215.52067565918,
    "y": 176.19625854492
    },
    "mouth_lip_upper_inner_10": {
    "x": 227.71615600586,
    "y": 173.85404968262
    },
    "mouth_lip_upper_inner_11": {
    "x": 233.29223632812,
    "y": 172.57704162598
    },
    "mouth_lip_lower_inner_11": {
    "x": 233.62571716309,
    "y": 174.40519714355
    },
    "mouth_lip_lower_inner_10": {
    "x": 228.07106018066,
    "y": 176.48277282715
    },
    "mouth_lip_lower_inner_8": {
    "x": 215.9122467041,
    "y": 179.73753356934
    },
    "mouth_lip_lower_inner_7": {
    "x": 209.95574951172,
    "y": 181.01141357422
    },
    "mouth_lip_lower_inner_5": {
    "x": 197.13244628906,
    "y": 182.56121826172
    },
    "mouth_lip_lower_inner_4": {
    "x": 190.87368774414,
    "y": 182.73983764648
    },
    "mouth_lip_lower_inner_2": {
    "x": 177.65509033203,
    "y": 182.41763305664
    },
    "mouth_lip_lower_inner_1": {
    "x": 171.26217651367,
    "y": 181.71365356445
    },
    "iris_left_1": {
    "x": 149.40379333496,
    "y": 100.07892608643
    },
    "iris_left_2": {
    "x": 148.73318481445,
    "y": 92.03369140625
    },
    "iris_left_3": {
    "x": 146.30757141113,
    "y": 92.544448852539
    },
    "iris_left_4": {
    "x": 143.84558105469,
    "y": 93.900978088379
    },
    "iris_left_5": {
    "x": 142.10343933105,
    "y": 95.915756225586
    },
    "iris_left_6": {
    "x": 141.19898986816,
    "y": 98.484413146973
    },
    "iris_left_7": {
    "x": 141.20487976074,
    "y": 101.20999908447
    },
    "iris_left_8": {
    "x": 142.08467102051,
    "y": 103.90132904053
    },
    "iris_left_9": {
    "x": 143.65046691895,
    "y": 106.00126647949
    },
    "iris_left_10": {
    "x": 146.09100341797,
    "y": 107.37795257568
    },
    "iris_left_11": {
    "x": 148.82292175293,
    "y": 107.85302734375
    },
    "iris_left_12": {
    "x": 151.54568481445,
    "y": 107.596534729
    },
    "iris_left_13": {
    "x": 154.05340576172,
    "y": 106.52443695068
    },
    "iris_left_14": {
    "x": 156.02444458008,
    "y": 104.7774887085
    },
    "iris_left_15": {
    "x": 157.17826843262,
    "y": 102.40663909912
    },
    "iris_left_16": {
    "x": 157.39999389648,
    "y": 99.654823303223
    },
    "iris_left_17": {
    "x": 156.83882141113,
    "y": 97.051910400391
    },
    "iris_left_18": {
    "x": 155.60954284668,
    "y": 94.735946655273
    },
    "iris_left_19": {
    "x": 153.60211181641,
    "y": 93.047943115234
    },
    "iris_left_20": {
    "x": 151.11714172363,
    "y": 92.191055297852
    },
    "iris_right_1": {
    "x": 236.5496673584,
    "y": 89.82470703125
    },
    "iris_right_2": {
    "x": 235.57327270508,
    "y": 81.906242370605
    },
    "iris_right_3": {
    "x": 233.22520446777,
    "y": 82.437240600586
    },
    "iris_right_4": {
    "x": 230.8776550293,
    "y": 83.811805725098
    },
    "iris_right_5": {
    "x": 228.99620056152,
    "y": 85.852684020996
    },
    "iris_right_6": {
    "x": 228.28205871582,
    "y": 88.459457397461
    },
    "iris_right_7": {
    "x": 228.09143066406,
    "y": 91.328216552734
    },
    "iris_right_8": {
    "x": 228.9642791748,
    "y": 93.888366699219
    },
    "iris_right_9": {
    "x": 230.59039306641,
    "y": 96.080490112305
    },
    "iris_right_10": {
    "x": 233.10903930664,
    "y": 97.431625366211
    },
    "iris_right_11": {
    "x": 235.84417724609,
    "y": 97.806510925293
    },
    "iris_right_12": {
    "x": 238.75238037109,
    "y": 97.537010192871
    },
    "iris_right_13": {
    "x": 241.33396911621,
    "y": 96.534019470215
    },
    "iris_right_14": {
    "x": 243.4416809082,
    "y": 94.684562683105
    },
    "iris_right_15": {
    "x": 244.63690185547,
    "y": 92.331932067871
    },
    "iris_right_16": {
    "x": 245.06533813477,
    "y": 89.467132568359
    },
    "iris_right_17": {
    "x": 244.44647216797,
    "y": 86.712936401367
    },
    "iris_right_18": {
    "x": 243.01428222656,
    "y": 84.355781555176
    },
    "iris_right_19": {
    "x": 240.87191772461,
    "y": 82.740913391113
    },
    "iris_right_20": {
    "x": 238.14981079102,
    "y": 81.91431427002
    },
    "forehead_center": {
    "x": 176.53311157227,
    "y": -6.304919719696
    },
    "forehead_right_1": {
    "x": 149.34216308594,
    "y": -0.85879385471344
    },
    "forehead_right_2": {
    "x": 124.94794464111,
    "y": 12.06137752533
    },
    "forehead_right_3": {
    "x": 107.58184814453,
    "y": 33.489730834961
    },
    "forehead_right_4": {
    "x": 98.957183837891,
    "y": 59.803108215332
    },
    "forehead_right_5": {
    "x": 97.01008605957,
    "y": 87.569114685059
    },
    "forehead_left_1": {
    "x": 203.49537658691,
    "y": -6.5926675796509
    },
    "forehead_left_2": {
    "x": 229.22273254395,
    "y": 0.93864995241165
    },
    "forehead_left_3": {
    "x": 250.55792236328,
    "y": 17.390432357788
    },
    "forehead_left_4": {
    "x": 265.51229858398,
    "y": 40.023624420166
    },
    "forehead_left_5": {
    "x": 274.67761230469,
    "y": 65.599334716797
    }
    }

    Code example