This project is not covered by Drupal’s security advisory policy.
Google Cloud Vision API enables developers to understand the content of an image by encapsulating powerful machine learning models in an easy to use REST API.
It quickly classifies images into thousands of categories (e.g., "sailboat", "lion", "Eiffel Tower"), detects individual objects within images, be it the logos of famous brands such as Volkswagon, WWF, etc. or artificial landmarks such as Victoria Memorial, Great Wall of China, etc.
It also detects faces within images, including their positions and emotions, and finds and reads printed words contained within images.
You can build metadata on your image catalog, moderate offensive content, or enable new marketing scenarios through image sentiment analysis.
Analyze images uploaded in the request or integrate with your image storage on Google Cloud Storage.
You can find more info here
Installation and Configuration
Enable the module and set API key on the page /admin/config/media/google_vision. To learn more on how to generate your API key, click here
The above-mentioned features of the Cloud Vision API has been put to use in the form of the following use cases:
- Taxonomy tagging of image files using Label Detection- Label Detection feature of the Google Cloud Vision API has been used for taxonomy tagging purpose.
- Safe Search Detection- Safe Search Detection feature is available and configurable for each of the image fields present for the entity types, including nodes, users, comments, etc. This feature can be used if the site administrator/end user does not want to pollute the site with explicit/violent contents.
- Filling Alt Text attribute of image file- Google Vision API module allows auto filling of the Alt Text attribute of the image files using Label Detection/Logo Detection/Landmark Detection/Optical Character Detection, as is chosen by the end user.
- User Emotion Detection- This feature is especially important if you do not want your site users to upload sad/unhappy images as their profile pictures.
- Displaying the similar image files- Another use case for the Google Vision API module is grouping the similar image files which share the same dominant color component (Red, Green or Blue). Here, by similar contents, we do not mean that the objects would resemble each other always. Instead, the "Similar Contents" tab shows all the images which are made up of same dominant color. For example, if an object, say, belt is of red color, then the Similar Contents tab can be used to show objects like caps, shoes, etc. of same color component.
Follow the README.txt file for step by step instructions on using the above-mentioned use cases.
This module is developed as a Google Summer of Code 2016 selected project.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, File Management, Media, Third-party Integration
- Reported installs: 2 sites currently report using this module. View usage statistics.
- Downloads: 330
- Automated tests: Enabled
- Last modified: August 25, 2016
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.