Skip to main content

Vertex AI Vision

Exemple d'une analyse d'une image PAR LABEL DETECTION : 

Image source :

donuts.png

Requette : 

{
    "requests": [
        {
          "image": {
            "source": {
                "gcsImageUri": "gs://qwiklabs-gcp-02-148f0046b176-bucket/donuts.png"
            }
          },
          "features": [
            {
              "type": "WEB_DETECTION",
              "maxResults": 10
            }
          ]
        }
    ]
}
curl -s -X POST -H "Content-Type: application/json" --data-binary @request.json  https://vision.googleapis.com/v1/images:annotate?key=${API_KEY}

Réponse : 

{
  "responses": [
    {
      "labelAnnotations": [
        {
          "mid": "/m/02wbm",
          "description": "Food",
          "score": 0.986098,
          "topicality": 0.986098
        },
        {
          "mid": "/m/01wydv",
          "description": "Beignet",
          "score": 0.9145899,
          "topicality": 0.9145899
        },
        {
          "mid": "/m/07xgrh",
          "description": "Ingredient",
          "score": 0.8922239,
          "topicality": 0.8922239
        },
        {
          "mid": "/m/01dk8s",
          "description": "Powdered sugar",
          "score": 0.855484,
          "topicality": 0.855484
        },
        {
          "mid": "/m/0p57p",
          "description": "Recipe",
          "score": 0.84780663,
          "topicality": 0.84780663
        },
        {
          "mid": "/m/01ykh",
          "description": "Cuisine",
          "score": 0.83784735,
          "topicality": 0.83784735
        },
        {
          "mid": "/m/06gd3r",
          "description": "Angel wings",
          "score": 0.8157256,
          "topicality": 0.8157256
        },
        {
          "mid": "/m/02q08p0",
          "description": "Dish",
          "score": 0.80321497,
          "topicality": 0.80321497
        },
        {
          "mid": "/m/052lwg6",
          "description": "Baked goods",
          "score": 0.79568243,
          "topicality": 0.79568243
        },
        {
          "mid": "/m/06x4c",
          "description": "Sugar",
          "score": 0.7846247,
          "topicality": 0.7846247
        }
      ]
    }
  ]
}

Exemple d'une analyse d'une image PAR WEB DETECTION : 

{
  "responses": [
    {
      "webDetection": {
        "webEntities": [
          {
            "entityId": "/m/01wydv",
            "score": 0.72217673,
            "description": "Beignet"
          },
          {
            "entityId": "/m/01dk8s",
            "score": 0.63628644,
            "description": "Icing Sugar"
          },
          {
            "entityId": "/m/02wvn_6",
            "score": 0.49952897,
            "description": "Ricciarelli"
          },
          {
            "entityId": "/g/11fmgrs4qm",
            "score": 0.385,
            "description": "Vision AI"
          },
          {
            "entityId": "/m/0jy4k",
            "score": 0.3813,
            "description": "Doughnut"
          },
          {
            "entityId": "/t/24bjj59_jbj9f",
            "score": 0.3775
          },
          {
            "entityId": "/m/045c7b",
            "score": 0.3775,
            "description": "Google"
          },
          {
            "entityId": "/m/0105pbj4",
            "score": 0.3433,
            "description": "Google Cloud Platform"
          },
          {
            "entityId": "/m/0z5n",
            "score": 0.3351,
            "description": "API"
          },
          {
            "entityId": "/m/02y_9m3",
            "score": 0.3168,
            "description": "Cloud computing"
          }
        ],
        "fullMatchingImages": [
          {
            "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
          },
          {
            "url": "https://miro.medium.com/v2/resize:fit:1400/1*JSX2yNORAAOxdGoU17c4_A.png"
          }
        ],
        "pagesWithMatchingImages": [
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=it&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=de&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=fr_CA&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=uk&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=pt_PT&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=zh_TW&parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?parent=catalog",
            "pageTitle": "Detect Labels, Faces, and Landmarks in Images with the Cloud ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          },
          {
            "url": "https://github.com/ratokeshi/Cloud-Shell-GSP037-Detect-Labels-Faces-and-Landmarks-in-Images-with-the-Cloud-Vision-API/blob/master/tutorial.md",
            "pageTitle": "GSP037 -- Tutorial: Detect Labels, Faces, and Landmarks in Images ...",
            "fullMatchingImages": [
              {
                "url": "https://camo.githubusercontent.com/de4a92596dd95e3a6e3486783113543c0b0ad077242450b605fdc8d5b3a5a4b4/68747470733a2f2f63646e2e7177696b6c6162732e636f6d2f5634506d455549377958644b7079744c4e5271775625324279474871796d2532426668646b745669386e6a34705073253344"
              }
            ]
          },
          {
            "url": "https://github.com/CCH0124/qwiklab/blob/master/Machine%20Learning%20APIs/2020-09-03-cloud-vision-api.md",
            "pageTitle": "2020-09-03-cloud-vision-api.md - GitHub",
            "fullMatchingImages": [
              {
                "url": "https://developers.google.com/codelabs/cloud-vision-intro/img/b05d9534e547f5ee.jpeg"
              }
            ]
          },
          {
            "url": "https://www.cloudskillsboost.google/focuses/1841?locale=es&parent=catalog",
            "pageTitle": "Detecte etiquetas, rostros y puntos de referencia en las imágenes ...",
            "fullMatchingImages": [
              {
                "url": "https://cdn.qwiklabs.com/V4PmEUI7yXdKpytLNRqwV%2ByGHqym%2BfhdktVi8nj4pPs%3D"
              }
            ]
          }
        ],
        "visuallySimilarImages": [
          {
            "url": "https://cdn.qwiklabs.com/S%2FkNFToGu3UCBBin8FTTTupTpksj6PBcKpa1ZyPqwNk%3D"
          },
          {
            "url": "https://img-global.cpcdn.com/recipes/a66a9a6fc2696648/680x482cq70/mutzenmandeln-german-fritters-recipe-main-photo.jpg"
          },
          {
            "url": "https://cdn.qwiklabs.com/vgWkDHchgJbOs4QsNHnrTHKs5%2Fo1rkQWFxMCLtHmrPo%3D"
          },
          {
            "url": "https://lp-cms-production.imgix.net/features/2017/11/GettyImages-138513933-c96bcb32cf5f.jpg?auto=format&q=75&w=1920"
          },
          {
            "url": "https://cdn.qwiklabs.com/w%2BfLMzkJxWN1WummHFhBLmkw5eFFSMFfQUiN6bwAwFA%3D"
          },
          {
            "url": "https://img.cdn4dd.com/p/fit=cover,width=1200,height=1200,format=auto,quality=90/media/photosV2/9836e6c1-4775-4f05-bd5d-7aa9672a252f-retina-large.JPG"
          },
          {
            "url": "https://images.sbs.com.au/dims4/default/f352d99/2147483647/strip/true/crop/1200x675+0+113/resize/1280x720!/quality/90/?url=http%3A%2F%2Fsbs-au-brightspot.s3.amazonaws.com%2Fdrupal%2Ffood%2Fpublic%2Fgettyimages-638180210.jpg"
          },
          {
            "url": "https://www.catburglardoughco.co.uk/cdn/shop/files/C68A5692-5039-4486-BEA4-B64A758B558F.jpg?v=1699803372&width=533"
          },
          {
            "url": "https://lh3.googleusercontent.com/eaLMslkaROuaXqJvLGIg-2QdrK-K9bUfSRA_flRP0UjnYKY_ItzzFNdsEf4Ia3ssRk0ieq2cBIPzNXLSqAnr1yT-mirlt7prvbJ8Jo2P=w1200-h630-p-rj-l75"
          },
          {
            "url": "https://lookaside.instagram.com/seo/google_widget/crawler/?media_id=3233064463578091407"
          }
        ],
        "bestGuessLabels": [
          {
            "label": "powdered sugar"
          }
        ]
      }
    }
  ]
}

Exemple d'une analyse d'une image PAR LABEL DETECTION : 

selfie.png

Fichier de requette : 

{
  "requests": [
      {
        "image": {
          "source": {
              "gcsImageUri": "gs://qwiklabs-gcp-02-148f0046b176-bucket/selfie.png"
          }
        },
        "features": [
          {
            "type": "FACE_DETECTION"
          },
          {
            "type": "LANDMARK_DETECTION"
          }
        ]
      }
  ]
}

Commande : 

curl -s -X POST -H "Content-Type: application/json" --data-binary @request.json  https://vision.googleapis.com/v1/images:annotate?key=${API_KEY}

Résultat : 

{
  "responses": [
    {
      "faceAnnotations": [
        {
          "boundingPoly": {
            "vertices": [
              {
                "x": 668,
                "y": 321
              },
              {
                "x": 759,
                "y": 321
              },
              {
                "x": 759,
                "y": 428
              },
              {
                "x": 668,
                "y": 428
              }
            ]
          },
          "fdBoundingPoly": {
            "vertices": [
              {
                "x": 675,
                "y": 342
              },
              {
                "x": 752,
                "y": 342
              },
              {
                "x": 752,
                "y": 418
              },
              {
                "x": 675,
                "y": 418
              }
            ]
          },
          "landmarks": [
            {
              "type": "LEFT_EYE",
              "position": {
                "x": 692.43866,
                "y": 373.3567,
                "z": 3.373623e-05
              }
            },
            {
              "type": "RIGHT_EYE",
              "position": {
                "x": 717.378,
                "y": 372.80283,
                "z": -10.198742
              }
            },
            {
              "type": "LEFT_OF_LEFT_EYEBROW",
              "position": {
                "x": 685.4162,
                "y": 366.67938,
                "z": 5.713165
              }
            },
            {
              "type": "RIGHT_OF_LEFT_EYEBROW",
              "position": {
                "x": 697.2991,
                "y": 369.66382,
                "z": -7.347992
              }
            },
            {
              "type": "LEFT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 708.3684,
                "y": 366.63693,
                "z": -11.891495
              }
            },
            {
              "type": "RIGHT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 726.387,
                "y": 366.9591,
                "z": -11.319866
              }
            },
            {
              "type": "MIDPOINT_BETWEEN_EYES",
              "position": {
                "x": 701.6046,
                "y": 373.41864,
                "z": -9.908357
              }
            },
            {
              "type": "NOSE_TIP",
              "position": {
                "x": 697.15344,
                "y": 388.13058,
                "z": -16.976954
              }
            },
            {
              "type": "UPPER_LIP",
              "position": {
                "x": 701.7274,
                "y": 398.90063,
                "z": -11.995066
              }
            },
            {
              "type": "LOWER_LIP",
              "position": {
                "x": 699.92926,
                "y": 405.88278,
                "z": -10.244858
              }
            },
            {
              "type": "MOUTH_LEFT",
              "position": {
                "x": 690.5546,
                "y": 401.1665,
                "z": -0.62963176
              }
            },
            {
              "type": "MOUTH_RIGHT",
              "position": {
                "x": 716.9991,
                "y": 400.65125,
                "z": -10.09579
              }
            },
            {
              "type": "MOUTH_CENTER",
              "position": {
                "x": 700.99243,
                "y": 402.0346,
                "z": -10.156912
              }
            },
            {
              "type": "NOSE_BOTTOM_RIGHT",
              "position": {
                "x": 709.8808,
                "y": 390.7631,
                "z": -11.243357
              }
            },
            {
              "type": "NOSE_BOTTOM_LEFT",
              "position": {
                "x": 696.3279,
                "y": 391.8381,
                "z": -5.7694793
              }
            },
            {
              "type": "NOSE_BOTTOM_CENTER",
              "position": {
                "x": 701.84155,
                "y": 393.0317,
                "z": -11.99778
              }
            },
            {
              "type": "LEFT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 691.84955,
                "y": 370.639,
                "z": -1.1958665
              }
            },
            {
              "type": "LEFT_EYE_RIGHT_CORNER",
              "position": {
                "x": 697.6948,
                "y": 374.61545,
                "z": -2.1564898
              }
            },
            {
              "type": "LEFT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 691.71344,
                "y": 375.79626,
                "z": -0.1917541
              }
            },
            {
              "type": "LEFT_EYE_LEFT_CORNER",
              "position": {
                "x": 687.0204,
                "y": 372.78336,
                "z": 4.4688487
              }
            },
            {
              "type": "RIGHT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 717.58777,
                "y": 370.20477,
                "z": -11.638302
              }
            },
            {
              "type": "RIGHT_EYE_RIGHT_CORNER",
              "position": {
                "x": 723.5248,
                "y": 373.70828,
                "z": -10.248271
              }
            },
            {
              "type": "RIGHT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 717.4111,
                "y": 375.0081,
                "z": -10.57846
              }
            },
            {
              "type": "RIGHT_EYE_LEFT_CORNER",
              "position": {
                "x": 711.91406,
                "y": 373.00806,
                "z": -8.051287
              }
            },
            {
              "type": "LEFT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 690.81885,
                "y": 365.88174,
                "z": -2.3195024
              }
            },
            {
              "type": "RIGHT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 716.738,
                "y": 364.33142,
                "z": -13.070583
              }
            },
            {
              "type": "LEFT_EAR_TRAGION",
              "position": {
                "x": 685.4494,
                "y": 382.5777,
                "z": 35.894524
              }
            },
            {
              "type": "RIGHT_EAR_TRAGION",
              "position": {
                "x": 749.4171,
                "y": 381.63037,
                "z": 12.328761
              }
            },
            {
              "type": "FOREHEAD_GLABELLA",
              "position": {
                "x": 701.61536,
                "y": 367.41168,
                "z": -10.287974
              }
            },
            {
              "type": "CHIN_GNATHION",
              "position": {
                "x": 700.69476,
                "y": 421.18158,
                "z": -7.21095
              }
            },
            {
              "type": "CHIN_LEFT_GONION",
              "position": {
                "x": 688.1349,
                "y": 404.81442,
                "z": 23.377693
              }
            },
            {
              "type": "CHIN_RIGHT_GONION",
              "position": {
                "x": 734.8416,
                "y": 405.79562,
                "z": 4.5565524
              }
            },
            {
              "type": "LEFT_CHEEK_CENTER",
              "position": {
                "x": 686.4387,
                "y": 389.8197,
                "z": 4.3024597
              }
            },
            {
              "type": "RIGHT_CHEEK_CENTER",
              "position": {
                "x": 723.57526,
                "y": 390.40497,
                "z": -10.311082
              }
            }
          ],
          "rollAngle": 0.59558755,
          "panAngle": -22.601566,
          "tiltAngle": 0.0803935,
          "detectionConfidence": 0.96875,
          "landmarkingConfidence": 0.41884518,
          "joyLikelihood": "LIKELY",
          "sorrowLikelihood": "VERY_UNLIKELY",
          "angerLikelihood": "VERY_UNLIKELY",
          "surpriseLikelihood": "VERY_UNLIKELY",
          "underExposedLikelihood": "VERY_UNLIKELY",
          "blurredLikelihood": "VERY_UNLIKELY",
          "headwearLikelihood": "VERY_LIKELY"
        },
        {
          "boundingPoly": {
            "vertices": [
              {
                "x": 744,
                "y": 447
              },
              {
                "x": 893,
                "y": 447
              },
              {
                "x": 893,
                "y": 621
              },
              {
                "x": 744,
                "y": 621
              }
            ]
          },
          "fdBoundingPoly": {
            "vertices": [
              {
                "x": 757,
                "y": 484
              },
              {
                "x": 878,
                "y": 484
              },
              {
                "x": 878,
                "y": 604
              },
              {
                "x": 757,
                "y": 604
              }
            ]
          },
          "landmarks": [
            {
              "type": "LEFT_EYE",
              "position": {
                "x": 793.5294,
                "y": 539.38367,
                "z": 5.9366226e-05
              }
            },
            {
              "type": "RIGHT_EYE",
              "position": {
                "x": 840.46094,
                "y": 535.4346,
                "z": -2.1895075
              }
            },
            {
              "type": "LEFT_OF_LEFT_EYEBROW",
              "position": {
                "x": 775.37445,
                "y": 530.46454,
                "z": 3.0618556
              }
            },
            {
              "type": "RIGHT_OF_LEFT_EYEBROW",
              "position": {
                "x": 803.0138,
                "y": 527.3482,
                "z": -9.849849
              }
            },
            {
              "type": "LEFT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 827.15405,
                "y": 526.40594,
                "z": -10.899489
              }
            },
            {
              "type": "RIGHT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 855.7899,
                "y": 523.0633,
                "z": -0.59696364
              }
            },
            {
              "type": "MIDPOINT_BETWEEN_EYES",
              "position": {
                "x": 816.6269,
                "y": 536.4698,
                "z": -9.777311
              }
            },
            {
              "type": "NOSE_TIP",
              "position": {
                "x": 819.23175,
                "y": 565.9421,
                "z": -18.531992
              }
            },
            {
              "type": "UPPER_LIP",
              "position": {
                "x": 820.303,
                "y": 576.862,
                "z": -7.0771503
              }
            },
            {
              "type": "LOWER_LIP",
              "position": {
                "x": 822.7886,
                "y": 592.95184,
                "z": -2.042104
              }
            },
            {
              "type": "MOUTH_LEFT",
              "position": {
                "x": 800.8822,
                "y": 579.7369,
                "z": 5.9498067
              }
            },
            {
              "type": "MOUTH_RIGHT",
              "position": {
                "x": 841.2108,
                "y": 576.2314,
                "z": 4.011873
              }
            },
            {
              "type": "MOUTH_CENTER",
              "position": {
                "x": 821.5351,
                "y": 584.1139,
                "z": -3.0886195
              }
            },
            {
              "type": "NOSE_BOTTOM_RIGHT",
              "position": {
                "x": 830.9645,
                "y": 563.2333,
                "z": -3.27593
              }
            },
            {
              "type": "NOSE_BOTTOM_LEFT",
              "position": {
                "x": 805.9413,
                "y": 565.3266,
                "z": -2.1608777
              }
            },
            {
              "type": "NOSE_BOTTOM_CENTER",
              "position": {
                "x": 819.59265,
                "y": 570.1875,
                "z": -8.321762
              }
            },
            {
              "type": "LEFT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 793.62726,
                "y": 534.8656,
                "z": -2.8054543
              }
            },
            {
              "type": "LEFT_EYE_RIGHT_CORNER",
              "position": {
                "x": 804.0568,
                "y": 538.8929,
                "z": -0.37255192
              }
            },
            {
              "type": "LEFT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 794.21674,
                "y": 542.7089,
                "z": 0.028744698
              }
            },
            {
              "type": "LEFT_EYE_LEFT_CORNER",
              "position": {
                "x": 784.6544,
                "y": 539.5231,
                "z": 4.2155437
              }
            },
            {
              "type": "RIGHT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 840.2383,
                "y": 531.39136,
                "z": -5.024068
              }
            },
            {
              "type": "RIGHT_EYE_RIGHT_CORNER",
              "position": {
                "x": 850.17914,
                "y": 533.6771,
                "z": 1.0958834
              }
            },
            {
              "type": "RIGHT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 841.3888,
                "y": 538.5844,
                "z": -2.2287033
              }
            },
            {
              "type": "RIGHT_EYE_LEFT_CORNER",
              "position": {
                "x": 831.3864,
                "y": 537.139,
                "z": -1.6448504
              }
            },
            {
              "type": "LEFT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 788.3237,
                "y": 525.27527,
                "z": -6.2738914
              }
            },
            {
              "type": "RIGHT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 840.9917,
                "y": 520.7708,
                "z": -8.764145
              }
            },
            {
              "type": "LEFT_EAR_TRAGION",
              "position": {
                "x": 767.38306,
                "y": 548.0214,
                "z": 54.58354
              }
            },
            {
              "type": "RIGHT_EAR_TRAGION",
              "position": {
                "x": 871.42737,
                "y": 542.49274,
                "z": 49.736637
              }
            },
            {
              "type": "FOREHEAD_GLABELLA",
              "position": {
                "x": 815.8865,
                "y": 527.5149,
                "z": -11.821908
              }
            },
            {
              "type": "CHIN_GNATHION",
              "position": {
                "x": 827.00995,
                "y": 611.2324,
                "z": 6.4651966
              }
            },
            {
              "type": "CHIN_LEFT_GONION",
              "position": {
                "x": 780.3008,
                "y": 586.199,
                "z": 41.67852
              }
            },
            {
              "type": "CHIN_RIGHT_GONION",
              "position": {
                "x": 865.46185,
                "y": 578.2137,
                "z": 37.856068
              }
            },
            {
              "type": "LEFT_CHEEK_CENTER",
              "position": {
                "x": 787.7979,
                "y": 566.1857,
                "z": 8.141714
              }
            },
            {
              "type": "RIGHT_CHEEK_CENTER",
              "position": {
                "x": 852.31647,
                "y": 560.45734,
                "z": 5.0646076
              }
            }
          ],
          "rollAngle": -5.7251105,
          "panAngle": -2.8577325,
          "tiltAngle": -8.664961,
          "detectionConfidence": 0.98828125,
          "landmarkingConfidence": 0.6823078,
          "joyLikelihood": "VERY_LIKELY",
          "sorrowLikelihood": "VERY_UNLIKELY",
          "angerLikelihood": "VERY_UNLIKELY",
          "surpriseLikelihood": "VERY_UNLIKELY",
          "underExposedLikelihood": "VERY_UNLIKELY",
          "blurredLikelihood": "VERY_UNLIKELY",
          "headwearLikelihood": "VERY_UNLIKELY"
        },
        {
          "boundingPoly": {
            "vertices": [
              {
                "x": 80,
                "y": 418
              },
              {
                "x": 465,
                "y": 418
              },
              {
                "x": 465,
                "y": 866
              },
              {
                "x": 80,
                "y": 866
              }
            ]
          },
          "fdBoundingPoly": {
            "vertices": [
              {
                "x": 115,
                "y": 507
              },
              {
                "x": 428,
                "y": 507
              },
              {
                "x": 428,
                "y": 820
              },
              {
                "x": 115,
                "y": 820
              }
            ]
          },
          "landmarks": [
            {
              "type": "LEFT_EYE",
              "position": {
                "x": 210.98428,
                "y": 636.78925,
                "z": 0.000103622675
              }
            },
            {
              "type": "RIGHT_EYE",
              "position": {
                "x": 334.28998,
                "y": 639.798,
                "z": 7.8577228
              }
            },
            {
              "type": "LEFT_OF_LEFT_EYEBROW",
              "position": {
                "x": 173.71925,
                "y": 601.5805,
                "z": 7.1803718
              }
            },
            {
              "type": "RIGHT_OF_LEFT_EYEBROW",
              "position": {
                "x": 252.41397,
                "y": 609.36444,
                "z": -20.915983
              }
            },
            {
              "type": "LEFT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 305.17267,
                "y": 609.4991,
                "z": -17.325449
              }
            },
            {
              "type": "RIGHT_OF_RIGHT_EYEBROW",
              "position": {
                "x": 374.29257,
                "y": 610.67633,
                "z": 19.61249
              }
            },
            {
              "type": "MIDPOINT_BETWEEN_EYES",
              "position": {
                "x": 280.02835,
                "y": 634.74005,
                "z": -19.71592
              }
            },
            {
              "type": "NOSE_TIP",
              "position": {
                "x": 273.82748,
                "y": 704.85376,
                "z": -50.443886
              }
            },
            {
              "type": "UPPER_LIP",
              "position": {
                "x": 274.6303,
                "y": 748.81494,
                "z": -22.593706
              }
            },
            {
              "type": "LOWER_LIP",
              "position": {
                "x": 272.55093,
                "y": 790.23535,
                "z": -12.755508
              }
            },
            {
              "type": "MOUTH_LEFT",
              "position": {
                "x": 220.86194,
                "y": 754.5106,
                "z": 6.1819997
              }
            },
            {
              "type": "MOUTH_RIGHT",
              "position": {
                "x": 325.49588,
                "y": 754.57544,
                "z": 13.198116
              }
            },
            {
              "type": "MOUTH_CENTER",
              "position": {
                "x": 272.36035,
                "y": 767.5126,
                "z": -13.382333
              }
            },
            {
              "type": "NOSE_BOTTOM_RIGHT",
              "position": {
                "x": 310.15656,
                "y": 714.2464,
                "z": -5.4297905
              }
            },
            {
              "type": "NOSE_BOTTOM_LEFT",
              "position": {
                "x": 242.99303,
                "y": 713.36194,
                "z": -9.514273
              }
            },
            {
              "type": "NOSE_BOTTOM_CENTER",
              "position": {
                "x": 274.8135,
                "y": 726.06696,
                "z": -24.14862
              }
            },
            {
              "type": "LEFT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 210.38014,
                "y": 625.1521,
                "z": -6.883646
              }
            },
            {
              "type": "LEFT_EYE_RIGHT_CORNER",
              "position": {
                "x": 236.65836,
                "y": 639.45935,
                "z": 1.7272129
              }
            },
            {
              "type": "LEFT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 208.93822,
                "y": 646.255,
                "z": -1.0322597
              }
            },
            {
              "type": "LEFT_EYE_LEFT_CORNER",
              "position": {
                "x": 183.03888,
                "y": 633.12244,
                "z": 8.824483
              }
            },
            {
              "type": "RIGHT_EYE_TOP_BOUNDARY",
              "position": {
                "x": 336.63678,
                "y": 629.47314,
                "z": 0.91606
              }
            },
            {
              "type": "RIGHT_EYE_RIGHT_CORNER",
              "position": {
                "x": 358.58292,
                "y": 638.5679,
                "z": 19.96965
              }
            },
            {
              "type": "RIGHT_EYE_BOTTOM_BOUNDARY",
              "position": {
                "x": 335.41437,
                "y": 649.3929,
                "z": 7.0779977
              }
            },
            {
              "type": "RIGHT_EYE_LEFT_CORNER",
              "position": {
                "x": 309.83377,
                "y": 641.9417,
                "z": 6.294576
              }
            },
            {
              "type": "LEFT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 212.38057,
                "y": 594.4503,
                "z": -14.60664
              }
            },
            {
              "type": "RIGHT_EYEBROW_UPPER_MIDPOINT",
              "position": {
                "x": 341.20465,
                "y": 599.6313,
                "z": -6.4579906
              }
            },
            {
              "type": "LEFT_EAR_TRAGION",
              "position": {
                "x": 150.6823,
                "y": 671.751,
                "z": 142.04486
              }
            },
            {
              "type": "RIGHT_EAR_TRAGION",
              "position": {
                "x": 394.5878,
                "y": 674.81683,
                "z": 157.92944
              }
            },
            {
              "type": "FOREHEAD_GLABELLA",
              "position": {
                "x": 280.94696,
                "y": 610.3091,
                "z": -23.105803
              }
            },
            {
              "type": "CHIN_GNATHION",
              "position": {
                "x": 269.8777,
                "y": 845.82117,
                "z": 5.917829
              }
            },
            {
              "type": "CHIN_LEFT_GONION",
              "position": {
                "x": 166.30276,
                "y": 766.4272,
                "z": 99.26593
              }
            },
            {
              "type": "CHIN_RIGHT_GONION",
              "position": {
                "x": 368.6385,
                "y": 771.56323,
                "z": 113.29847
              }
            },
            {
              "type": "LEFT_CHEEK_CENTER",
              "position": {
                "x": 182.38641,
                "y": 709.2091,
                "z": 12.785852
              }
            },
            {
              "type": "RIGHT_CHEEK_CENTER",
              "position": {
                "x": 354.2118,
                "y": 713.5847,
                "z": 23.806818
              }
            }
          ],
          "rollAngle": 1.5918676,
          "panAngle": 3.6759565,
          "tiltAngle": -3.377491,
          "detectionConfidence": 0.984375,
          "landmarkingConfidence": 0.76681644,
          "joyLikelihood": "POSSIBLE",
          "sorrowLikelihood": "VERY_UNLIKELY",
          "angerLikelihood": "VERY_UNLIKELY",
          "surpriseLikelihood": "VERY_UNLIKELY",
          "underExposedLikelihood": "VERY_UNLIKELY",
          "blurredLikelihood": "VERY_UNLIKELY",
          "headwearLikelihood": "VERY_LIKELY"
        }
      ],
      "landmarkAnnotations": [
        {
          "mid": "/m/0fnjyp",
          "description": "The Treasury",
          "score": 0.36352777,
          "boundingPoly": {
            "vertices": [
              {},
              {
                "x": 960
              },
              {
                "x": 960,
                "y": 960
              },
              {
                "y": 960
              }
            ]
          },
          "locations": [
            {
              "latLng": {
                "latitude": 30.322139199999995,
                "longitude": 35.4517457
              }
            }
          ]
        },
        {
          "mid": "/m/0c7zy",
          "description": "Petra",
          "score": 0.35770324,
          "boundingPoly": {
            "vertices": [
              {},
              {
                "x": 960
              },
              {
                "x": 960,
                "y": 960
              },
              {
                "y": 960
              }
            ]
          },
          "locations": [
            {
              "latLng": {
                "latitude": 30.328454400000002,
                "longitude": 35.4443622
              }
            }
          ]
        }
      ]
    }
  ]
}