In the following posts, I have described about my journey with Drupal, and my contributions. I have also written about my Google Summer of Code project and its weekly progress.

Tuesday, 15 March 2016

Integrate Google Cloud Vision API to Drupal 8

TL;DRI'll be working on the project Integrate Google Cloud Vision API to Drupal 8 this summer as part of the Google Summer of Code programme. This API offers automated content analysis of the images, including landmark detection, logo detection, face detection, text detection in images among others.The Google Summer of Code results are out!! And I have been one of those few students who have successfully been able to get their names on the list of selected students, who would be working for the next three months on the Open Source Projects.

Now, let me describe here the project and its applications.

Well, Google Cloud Vision API bring to picture the automated content analysis of the images. The API can not only detect objects ranging from animals to famous monuments, but also detects faces on emotions. In addition, the API can also help censor images, extract text from images, detect logos and landmarks, and even the attributes of the image itself, for instance the dominant color in the image.

What is so special about this project idea?

This is the first question which comes in every mind regarding any GSOC project.

So here is the answer. This feature has not been implemented in the Content Management Systems(CMS), and its integration in Drupal can give the users, a powerful tool which carries out automated content analysis of the images. Integration of this API would not only add to Drupal characteristics, but also would open up a new horizon for Drupal.

Won't it be great if a CMS can detect logo of famous brands? Or some explicit contents not fit to be displayed? Or the detection of natural as well as artificial structures in an image?

So, to summarize the aspects of Vision API, it offers the following features:

Label Detection- It detects broad set of categories in an image, ranging from living animals to non-living places.

Explicit Content Detection- Detects and notifies about adult or violent content within an image.

Logo Detection- Detects the logos of popular brands.

Landmark Detection- Detects natural as well as artificial structures within an image.

Image Attributes- Detects general attributes of an image, such as dominant color and background shades.

Optical Character Recognition(OCR)- Detects and extracts texts within an image. Vision API supports a broad range of languages along with the support for automatic language identification.

Face Detection- Detects multiple faces within an image, along with associated key facial attributes like emotional state. However, it still does not embed the support of facial recognition.

Integrated REST API- Access via REST API to request one or more annotation types per image.

For more details on Google Cloud Vision API, please have a look at Vision API