Exploring the Vision API
Now that we have all the required setup done, let's get started with exploring the API. In this section, we are going to explore the following features of the Vision API:
- Face detection
- Label detection
- Safe search detection
We are going to explore these features using a REST API. There are other features as well, which are quite similar to those previously discussed. You can try them out for yourself.
Face detection
We are going to start off with face detection. In the project
folder that you downloaded along with this book, or https://github.com/PacktPublishing/Getting-Started-with-Google-Cloud-AI-Services, you can find a folder for Chapter 3
, inside that folder you will find another folder named API
, and inside that folder, a foldernamedImages
. Inside Images
, I have placed all the sample image files that I have used for testing, for your reference. You are free to use any images.
Inside theAPI\Image
folder, refer to the Face_Detection_SriDevi.jpg
image. As a tribute to...