In this blog I am going to share how to create a microservice using Google Cloud Function. The objective is to reformat image when it gets uploaded to Google Cloud Storage bucket.


I am using Google cloud shell to run all the command. For details about the Google cloud shell please follow official documentation.


According to Google,

Cloud Storage provides worldwide, highly durable object storage that scales to exabytes of data. You can access data instantly from any storage class, integrate storage into your applications with a single unified API, and easily optimize price and performance.

Step 1: Create two…

I would like to share my experience regarding the Image Analysis on Google Cloud Platform (GCP). Please note that there may be other ways to achieve the same results so feel free to share them in the comment section.


Find the objects in the image and store them into a database.

Solution Overview


Here are the 3 broad steps in which I broke the solution:

  • Upload image to Google Storage.
  • Google Cloud Function: to process image with Vision API and get labels. It will be triggered after the image gets uploaded.
  • Store the tags/objects in BigQuery.


I am using Google cloud shell…

Dheeraj Bhadani

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store