Analyzing the response

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

As we can see from the preceding response, the API thinks the image is a spoof. I am not sure what or whom I was spoofing. To understand more about the response object, refer to the safe search annotation: https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#safesearchannotation. There are other detections that are possible using the Cloud Vision API. You can explore other APIs here: https://cloud.google.com/vision/docs/all-samples. The process for exploring the APIs is the same as previously described.

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.