Analyzing the response

Now, click on Send and we should see something like this in Postman:

The response you have received should look something like this:

// SNIPP SNIPP
{
"responses": [
{
"labelAnnotations": [
{
"mid": "/m/01bqvp",
"description": "sky",
"score": 0.9560901,
"topicality": 0.9560901
},
{
"mid": "/m/01b2w5",
"description": "sunset",
"score": 0.87674785,
"topicality": 0.87674785
},
{
"mid": "/m/06npx",
"description": "sea",
"score": 0.8571267,
"topicality": 0.8571267
},
{
"mid": "/m/01b2q6",
"description": "sunrise",
"score": 0.85168016,
"topicality": 0.85168016
},
{
"mid": "/m/0ds99lh",
"description": "fun",
"score": 0.791407,
"topicality": 0.791407
},
{
"mid": "/m/04mx32",
"description": "evening",
"score": 0.78113675,
"topicality": 0.78113675
},
{
"mid": "/m/06m_p",
"description": "sun",
"score": 0.7784385,
"topicality": 0.7784385
},
{
"mid": "/m/03thgk",
"description": "silhouette",
"score": 0.77650154,
"topicality": 0.77650154
},
{
"mid": "/m/0csby",
"description": "cloud",
"score": 0.77203345,
"topicality": 0.77203345
},
{
"mid": "/m/06z0n",
"description": "sunlight",
"score": 0.6308233,
"topicality": 0.6308233
}]
}]
}
// SNIPP SNIPP

Most of the key components of the image are present, and the score indicates the confidence level of the prediction. You can read more about the properties of the response object here: https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#EntityAnnotation. Next, we are going to look at safe search detection.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.163.250