Using the Vision API
The Google Vision API is an advanced application API to perform image analysis. The salient features are:
- Safe search:Â Content moderation of an image
- Label detection:Â Reads the image and detects objects, events, locations, products and so on
- Face detection:Â Detects faces and facial features
- Â Landmark detection:Â Detects natural and man-made landmarks
- OCR: Detects text within an image
- Logo detection:Â Detects popular products and corporate logos
- Â Web entities:Â Detects the contents of the image and returns its information as related to the Google Knowledge Graph
We'll try a simple example of using the Vision API for uploading images to a photo field of a signup form.
Getting ready
The following are the initial setup verification steps for the creation of the network before the recipe can be executed:
- Create or select a GCP project
- Enable billing and enable the default APIs (some APIs like BigQuery, storage, monitoring, and a few others are enabled automatically)
- Enable the Google Vision...