{"id":6188,"date":"2019-04-03T18:22:55","date_gmt":"2019-04-03T12:52:55","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=6188"},"modified":"2020-12-07T16:53:33","modified_gmt":"2020-12-07T11:23:33","slug":"integrating-google-cloud-vision-api-with-ruby-for-image-object-detection","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/","title":{"rendered":"Integrating Google Cloud Vision API  with Ruby for Image Object Detection"},"content":{"rendered":"\n<p>The primary goal of Google Cloud vision is for powerful image analysis.<\/p>\n\n\n\n<p>Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Here are a few use cases where Google Cloud Vision is the best fit for you:<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Insight from your images &#8211; If you are building an application where you want to identify objects from the image<\/li><li>Extract text &#8211; If you are playing with OCR and planning to extract text from the images<\/li><li>Power of the web &#8211; If you want to use the power of the google image search and utilize the best-updated images<\/li><li>Content moderation &#8211; To enable the \u201cSafeSearch\u201d on your site by detecting different types of content like adult content, violent or inappropriate content.<\/li><\/ol>\n\n\n\n<p>Google Cloud vision provides the API which you can use to utilize there all services. Let\u2019s integrate the Google Cloud Vision API for our Ruby application. In this tutorial, we are going to prepare a script which helps us to identify the objects from the image.<\/p>\n\n\n\n<p>Step 1:<br>If you don&#8217;t already have a Google Account (Gmail or Google Apps), you must <a href=\"https:\/\/accounts.google.com\/SignUp\" target=\"_blank\" rel=\"noopener noreferrer\">create one<\/a>. Sign-in to Google Cloud Platform console (<a href=\"http:\/\/console.cloud.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">console.cloud.google.com<\/a>) and create a new project.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"415\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/google-platform-1.png\" alt=\"how to Sign-in to Google Cloud Platform console\" class=\"wp-image-13250\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/google-platform-1.png 760w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/google-platform-1-300x164.png 300w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/figure><\/div>\n\n\n\n<p>Once you create a project. Now we need API credential keys to make API calls.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"362\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-2.png\" alt=\"API credential keys to make API calls\" class=\"wp-image-13249\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-2.png 758w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-2-300x143.png 300w\" sizes=\"auto, (max-width: 758px) 100vw, 758px\" \/><\/figure><\/div>\n\n\n\n<p>Go to the service account and click on \u201cCreate a key\u201d from a stock column.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"524\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image3.png\" alt=\"how to Create a key\u201d from a stock column\" class=\"wp-image-13247\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image3.png 752w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image3-300x209.png 300w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/figure><\/div>\n\n\n\n<p>Select json and then click \u201cCreate\u201d.<\/p>\n\n\n\n<p>Now download that key.json file. And place it somewhere in your system.<\/p>\n\n\n\n<p><code>$ export GOOGLE_APPLICATION_CREDENTIALS=\"&lt;some path to the keys&gt;\/key.json\"<\/code><\/p>\n\n\n\n<p>Once you export the keys, now you are ready to integrate Google Cloud Vision with your Ruby app.<\/p>\n\n\n\n<p>Now, Let\u2019s install <a href=\"https:\/\/github.com\/googleapis\/google-cloud-ruby\" target=\"_blank\" rel=\"noreferrer noopener\">google-cloud-vision<\/a> gem.<\/p>\n\n\n\n<p><code>$ gem install google-cloud<\/code><\/p>\n\n\n\n<p>Here I have one sample passport image. Let\u2019s try to identify the objects from it.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"396\" height=\"413\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-4.png\" alt=\"sample passport image\" class=\"wp-image-13246\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-4.png 396w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/12\/image-4-288x300.png 288w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><\/figure><\/div>\n\n\n\n<p>We are going to use <code>Google::Cloud::Vision::ImageAnnotator<\/code> service class to identify a face, landmark, logo, label, and text detection.<\/p>\n\n\n\n<p>Here I have written a simple script which detects the object using the above API.<\/p>\n\n\n\n<p>The output object also returns the polygon vertices to mark those objects on the image.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p><\/p>\n<\/div><\/div>\n\n\n\n<p><script src=\"https:\/\/gist.github.com\/NishantUpadhyay-BTC\/d46a664be2ccb2ecb9d70602c4b388f6.js\"><\/script><\/p>\n\n\n\n<p>There are many other APIs available to fulfill different use cases which I mentioned in the beginning. I have covered the integration of Vision API with a small use case here. I will share more used cases with different scripts so keep following these articles.<\/p>\n\n\n\n<p>Also,&nbsp;explore more about <a href=\"https:\/\/www.botreetechnologies.com\/blog\/extracting-text-from-image-using-google-cloud-vision-ocr-with-ruby\" target=\"_blank\" rel=\"noopener noreferrer\">how to extracting text from image using Google Cloud vision OCR with Ruby<\/a> in my next article.<\/p>\n\n\n\n<p>Have a happy coding!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><b>Click here for more<\/b> details&#8230;<\/a><\/h3>\n\n\n\n<p>At<a href=\"https:\/\/www.botreetechnologies.com\/\"> BoTree Technologies<\/a>, we build enterprise applications with our RoR team of 25+ engineers.<\/p>\n\n\n\n<p>We also specialize in Python, RPA, AI, Django, JavaScript and ReactJS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>The primary goal of Google Cloud vision is for powerful&#8230;<\/p>\n","protected":false},"author":4,"featured_media":13587,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,73,10],"tags":[],"class_list":["post-6188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-computing","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrating Google Cloud Vision API with Ruby for Image Object Detection<\/title>\n<meta name=\"description\" content=\"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating Google Cloud Vision API with Ruby for Image Object Detection\" \/>\n<meta property=\"og:description\" content=\"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-03T12:52:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-07T11:23:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nishant Upadhyay\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nishant Upadhyay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\"},\"author\":{\"name\":\"Nishant Upadhyay\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\"},\"headline\":\"Integrating Google Cloud Vision API with Ruby for Image Object Detection\",\"datePublished\":\"2019-04-03T12:52:55+00:00\",\"dateModified\":\"2020-12-07T11:23:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\"},\"wordCount\":474,\"commentCount\":8,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg\",\"articleSection\":[\"Cloud Computing\",\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\",\"name\":\"Integrating Google Cloud Vision API with Ruby for Image Object Detection\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg\",\"datePublished\":\"2019-04-03T12:52:55+00:00\",\"dateModified\":\"2020-12-07T11:23:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\"},\"description\":\"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg\",\"width\":1920,\"height\":1280,\"caption\":\"Google Cloud Vision API with Ruby on Rails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrating Google Cloud Vision API with Ruby for Image Object Detection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467\",\"name\":\"Nishant Upadhyay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png\",\"caption\":\"Nishant Upadhyay\"},\"description\":\"Nishant is Practice Lead of Ruby on Rails. He is a Blogger, Mentor, and Rubyst. He has expertise in Javascript as well. He is highly skilled in designing, developing and testing web applications. He enjoys being challenged and engaging with projects that require him to work outside his comfort and knowledge set.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating Google Cloud Vision API with Ruby for Image Object Detection","description":"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/","og_locale":"en_US","og_type":"article","og_title":"Integrating Google Cloud Vision API with Ruby for Image Object Detection","og_description":"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2019-04-03T12:52:55+00:00","article_modified_time":"2020-12-07T11:23:33+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg","type":"image\/jpeg"}],"author":"Nishant Upadhyay","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Nishant Upadhyay","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/"},"author":{"name":"Nishant Upadhyay","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467"},"headline":"Integrating Google Cloud Vision API with Ruby for Image Object Detection","datePublished":"2019-04-03T12:52:55+00:00","dateModified":"2020-12-07T11:23:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/"},"wordCount":474,"commentCount":8,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg","articleSection":["Cloud Computing","Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/","url":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/","name":"Integrating Google Cloud Vision API with Ruby for Image Object Detection","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg","datePublished":"2019-04-03T12:52:55+00:00","dateModified":"2020-12-07T11:23:33+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467"},"description":"Google Cloud Vision offers both pretrained models via an API and the ability to build custom models using AutoML Vision to provide flexibility depending on your use case.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2019\/04\/integrating-google-cloud-vision-api-with-ruby.jpg","width":1920,"height":1280,"caption":"Google Cloud Vision API with Ruby on Rails"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/integrating-google-cloud-vision-api-with-ruby-for-image-object-detection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Integrating Google Cloud Vision API with Ruby for Image Object Detection"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/5af799914f08fa3d67f69755fdd41467","name":"Nishant Upadhyay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/nishant-upadhyay-150x150.png","caption":"Nishant Upadhyay"},"description":"Nishant is Practice Lead of Ruby on Rails. He is a Blogger, Mentor, and Rubyst. He has expertise in Javascript as well. He is highly skilled in designing, developing and testing web applications. He enjoys being challenged and engaging with projects that require him to work outside his comfort and knowledge set."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=6188"}],"version-history":[{"count":2,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6188\/revisions"}],"predecessor-version":[{"id":13588,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6188\/revisions\/13588"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13587"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=6188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=6188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=6188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}