{"id":5116,"date":"2021-05-21T11:38:47","date_gmt":"2021-05-21T11:38:47","guid":{"rendered":"https:\/\/www.aqbsolutions.com\/?p=5116"},"modified":"2025-07-22T07:43:09","modified_gmt":"2025-07-22T07:43:09","slug":"image-text-and-object-detection-using-aws-rekognition","status":"publish","type":"post","link":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/","title":{"rendered":"Image Text and Object Detection Using AWS Rekognition"},"content":{"rendered":"<figure class=\"wp-block-image\"><strong>In this blog, you will see, in a ChatBot application how to extract any kind of text from any image, how to recognize a picture with its identity or label, and after recognizing the picture, will give a brief description from Wikipedia. The picture you will upload, will be stored in an S3 bucket.<\/strong><\/figure>\n\n\n<p style=\"font-size:24px\">The benefits of Rekognition are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Easy to use\n<ul class=\"wp-block-list\">\n<li>Image recognition at the push of a button<\/li>\n\n\n\n<li>No expertise required<\/li>\n\n\n\n<li>API\u2019s available, allowing applications easy use of AI.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Extremely low cost of usage<\/li>\n\n\n\n<li>Scalable<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"522\" src=\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1.png\" alt=\"Rekognition Benefits\" class=\"wp-image-6212\" srcset=\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1.png 576w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1-300x272.png 300w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1-230x208.png 230w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1-350x317.png 350w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Rekognition-Benefits-1-480x435.png 480w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n\n\n\n<p style=\"font-size:24px\">Rekognition Key Features:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Object and scene detection<\/li>\n\n\n\n<li>Facial analysis<\/li>\n\n\n\n<li>Face comparison<\/li>\n\n\n\n<li>Facial recognition<\/li>\n\n\n\n<li>Confidence Scores on Processed images<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"672\" src=\"http:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities.png\" alt=\"Exploring Rekognition's Multifaceted Capabilities\" class=\"wp-image-6213\" srcset=\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities.png 840w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities-300x240.png 300w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities-768x614.png 768w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities-230x184.png 230w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities-350x280.png 350w, https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Exploring-Rekognitions-Multifaceted-Capabilities-480x384.png 480w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<p style=\"font-size:24px\">Architecture:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/2.png\" alt=\"\" class=\"wp-image-5118\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A user post a message containing an image to a chat app that is monitored by a chatbot.<\/li>\n\n\n\n<li>The chat app posts the event to the Amazon API Gateway API for the chatbot.<\/li>\n\n\n\n<li>The chatbot validate the event. This event triggers an AWS Lambda function that uploads the image.<\/li>\n\n\n\n<li>Amazon Rekognition\u2019s image recognition feature checks the image.<\/li>\n\n\n\n<li>The chatbot uses the chat app API to post a message to the chat channel detailing of the image.<\/li>\n<\/ul>\n\n\n\n<p>In this tutorial we are going to use AWS Lambda, Amazon S3, AWS Rekognition, AWS Cognito, Amazon API Gateway and in the frontend for chatbot app UI we are using HTML with JavaScript. We are not using AWS Rekognition service directly. We use this service through Lambda function.<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#d5caca;font-size:24px\"><strong>Demo: <\/strong><\/p>\n\n\n\n<p class=\"has-very-light-gray-color has-very-dark-gray-background-color has-text-color has-background\" style=\"font-size:24px\">Step 1:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">We have created two Lambda function:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rekognition_image_text:<\/strong> This Lambda function will recognize and extract all the text format data from the image. From this function all texts from the image will appear on the chatbot UI.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"5120\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/3-1.png\" alt=\"\" class=\"wp-image-5120\"\/><\/figure>\n<\/figure>\n\n\n\n<p>&nbsp; <strong> \u2022 rekognition-test:<\/strong> This Lambda function will try to detect your image and give an image label at the best. After detecting the image the function will give a perfect details of that image. The function will detect the main content of that picture and show us a brief introduction like Wikipedia. For that we need to import a package in our python code called wikipediaapi. This package helps to fetch the details of that image from Google.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"5121\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/4.png\" alt=\"\" class=\"wp-image-5121\"\/><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/5.png\" alt=\"\" class=\"wp-image-5122\"\/><\/figure>\n\n\n\n<p class=\"has-very-light-gray-color has-very-dark-gray-background-color has-text-color has-background\" style=\"font-size:24px\">Step 2:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">We have created two API in Amazon API Gateway.<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rekognition_image_text&nbsp;: <\/strong>This API is for image to text conversion. When users upload a text image, this API will called from the frontend and then the API called the <strong>rekognition_image_text<\/strong> Lambda function. And through this Lambda function the text will show in the chatbot UI.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/6.png\" alt=\"\" class=\"wp-image-5124\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rekognition: <\/strong>This recognition API is for image label and the label description from Wikipedia. We created two methods in this API, one is POST method and another one in GET method. When user upload any image, the API will called from the frontend and then this recognition API called the lambda function, which returns the image label and details from google Wikipedia.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/7.png\" alt=\"\" class=\"wp-image-5123\"\/><\/figure>\n\n\n\n<p>When our API get created, we need to enable <strong>CORS<\/strong> in API gateway.<\/p>\n\n\n\n<p>CORS is a browser security feature that restricts cross-origin HTTP requests.<\/p>\n\n\n\n<p style=\"font-size:24px\">What Qualifies for Cross Origin HTTP Requests?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A different domain (e.g. from cat.com to dog.com)<\/li>\n\n\n\n<li>A different subdomain (e.g. from cat.com to adopt.cat.com)<\/li>\n\n\n\n<li>A different port (e.g. from cat.com to cat.com:10700)<\/li>\n\n\n\n<li>A different protocol (e.g. from https:\/\/cat.com to http:\/\/cat.com)<\/li>\n<\/ul>\n\n\n\n<p>For security purposes, the default behaviour of web applications is to follow the same-origin policy. This means that a web application can access data residing on another web application (for example, through an AJAX request) only if both applications have the same origin. After enabling CORS for your API delivery configuration, you can whitelist selected external origins and allow user agents that send requests from these origins to access resources within your API.<\/p>\n\n\n\n<p>In API Gateway you can specify the origin hostnames, HTTP methods, and headers that edge servers should accept in incoming CORS requests. Edge servers first determine the type of an incoming CORS request (pre-flight, simple, or actual) and then validate the request against the list of acceptable hostnames, methods, and headers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>CORS Flow:<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/8.png\" alt=\"\" class=\"wp-image-5125\"\/><\/figure>\n\n\n\n<p style=\"font-size:22px\"><strong>Please follow the below steps to enable CORS in your API Gateway:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First go to your API Gateway console and select your API.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/9.png\" alt=\"\" class=\"wp-image-5126\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Then Click on Actions and select Create Method. Then select the method type as per your requirements.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/10.png\" alt=\"\" class=\"wp-image-5127\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When your method is created again go to Actions and click on Enable CORS.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/11.png\" alt=\"\" class=\"wp-image-5128\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Leave all sections as default and click on Enable CORS and replace existing CORS headers.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/12.png\" alt=\"\" class=\"wp-image-5129\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When CORS is enabled, under Resources section OPTIONS will appear.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/13.png\" alt=\"\" class=\"wp-image-5130\"\/><\/figure>\n\n\n\n<p>Your CORS is enabled. Now go to Actions and deploy your API.<\/p>\n\n\n\n<p class=\"has-very-light-gray-color has-very-dark-gray-background-color has-text-color has-background\" style=\"font-size:24px\">Step 3:<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-left\">We have created our S3 bucket upload-rekognition-partha<\/h2>\n\n\n\n<p>Whenever we upload an image in our chatbot, the uploaded image will store in this S3 bucket.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/14.png\" alt=\"\" class=\"wp-image-5131\"\/><\/figure>\n\n\n\n<p>We also need to enable CORS in our S3 bucket. The CORS configuration is written in JSON, which defines a way for client web applications that are loaded in one domain to interact with resources in a different domain.<\/p>\n\n\n\n<p>To enable CORS, go to your S3 bucket Permission tab.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-id=\"5133\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/16.png\" alt=\"\" class=\"wp-image-5133\"\/><\/figure>\n<\/figure>\n\n\n\n<p>After that on the Cross-origin resource sharing (CORS) section edit your CORS configuration and put that in a JSON format.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/17.png\" alt=\"\" class=\"wp-image-5134\"\/><\/figure>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>To upload image in your S3 bucket through the application you need the Cognito user pool. You need to create a user identity pool from AWS Cognito and have to use the credentials in your code.<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/18.png\" alt=\"\" class=\"wp-image-5135\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>For now our backend setup is completed. Now we are going to show you how our image Rekognition works with its maximum perfection.<\/strong><\/h2>\n\n\n\n<p>We are going to upload an image in our chatbot application and you will see the response.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/19.png\" alt=\"\" class=\"wp-image-5136\"\/><\/figure>\n\n\n\n<p>After uploading the image, reply back the response.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.aqbsolutions.com\/wp-content\/uploads\/2021\/05\/20.png\" alt=\"\" class=\"wp-image-5137\"\/><\/figure>\n\n\n\n<p>We can see, first it reply back with the text from the image, extract text from image through our backend configuration.<\/p>\n\n\n\n<p>On the second level the image is detected and giving us response that the image we uploaded is a wedding cake.<\/p>\n\n\n\n<p>After that it we can see the details of weeding cake from Wikipedia.<\/p>\n\n\n\n<p class=\"has-very-dark-gray-color has-text-color has-medium-font-size\"><strong>Thank You.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, you will see, in a ChatBot application how to extract any kind of text from any image, how to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":6208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,49,18],"tags":[],"class_list":["post-5116","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-machine-learning","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Image Text and Object Detection Using AWS Rekognition - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Image Text and Object Detection Using AWS Rekognition - Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, you will see, in a ChatBot application how to extract any kind of text from any image, how to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-21T11:38:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T07:43:09+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"780\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"aQbSolutions\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"aQbSolutions\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\"},\"author\":{\"name\":\"aQbSolutions\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952\"},\"headline\":\"Image Text and Object Detection Using AWS Rekognition\",\"datePublished\":\"2021-05-21T11:38:47+00:00\",\"dateModified\":\"2025-07-22T07:43:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\"},\"wordCount\":1009,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg\",\"articleSection\":[\"DevOps\",\"Machine Learning\",\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\",\"url\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\",\"name\":\"Image Text and Object Detection Using AWS Rekognition - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg\",\"datePublished\":\"2021-05-21T11:38:47+00:00\",\"dateModified\":\"2025-07-22T07:43:09+00:00\",\"author\":{\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage\",\"url\":\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg\",\"contentUrl\":\"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg\",\"width\":1200,\"height\":780,\"caption\":\"Detection with rekognition\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#website\",\"url\":\"https:\/\/aqbsolutions.com\/blog\/\",\"name\":\"Aqbsolutions Blog\",\"description\":\"Blogs | IT Services in USA and Canada | aQb Solutions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/aqbsolutions.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952\",\"name\":\"aQbSolutions\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d37e12c5e93bdf3f02abdb5c8a89bad8841bd4743b3b2ea558914abbb60c7414?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d37e12c5e93bdf3f02abdb5c8a89bad8841bd4743b3b2ea558914abbb60c7414?s=96&d=mm&r=g\",\"caption\":\"aQbSolutions\"},\"url\":\"https:\/\/aqbsolutions.com\/blog\/author\/aqbsolutions\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Image Text and Object Detection Using AWS Rekognition - Blog","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:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/","og_locale":"en_US","og_type":"article","og_title":"Image Text and Object Detection Using AWS Rekognition - Blog","og_description":"In this blog, you will see, in a ChatBot application how to extract any kind of text from any image, how to [&hellip;]","og_url":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/","og_site_name":"Blog","article_published_time":"2021-05-21T11:38:47+00:00","article_modified_time":"2025-07-22T07:43:09+00:00","og_image":[{"width":1200,"height":780,"url":"http:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg","type":"image\/jpeg"}],"author":"aQbSolutions","twitter_card":"summary_large_image","twitter_misc":{"Written by":"aQbSolutions","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#article","isPartOf":{"@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/"},"author":{"name":"aQbSolutions","@id":"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952"},"headline":"Image Text and Object Detection Using AWS Rekognition","datePublished":"2021-05-21T11:38:47+00:00","dateModified":"2025-07-22T07:43:09+00:00","mainEntityOfPage":{"@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/"},"wordCount":1009,"commentCount":0,"image":{"@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage"},"thumbnailUrl":"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg","articleSection":["DevOps","Machine Learning","Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/","url":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/","name":"Image Text and Object Detection Using AWS Rekognition - Blog","isPartOf":{"@id":"https:\/\/aqbsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage"},"image":{"@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage"},"thumbnailUrl":"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg","datePublished":"2021-05-21T11:38:47+00:00","dateModified":"2025-07-22T07:43:09+00:00","author":{"@id":"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aqbsolutions.com\/blog\/2021\/05\/21\/image-text-and-object-detection-using-aws-rekognition\/#primaryimage","url":"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg","contentUrl":"https:\/\/aqbsolutions.com\/blog\/wp-content\/uploads\/2021\/05\/Detection-with-rekognition.jpg","width":1200,"height":780,"caption":"Detection with rekognition"},{"@type":"WebSite","@id":"https:\/\/aqbsolutions.com\/blog\/#website","url":"https:\/\/aqbsolutions.com\/blog\/","name":"Aqbsolutions Blog","description":"Blogs | IT Services in USA and Canada | aQb Solutions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aqbsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/7f8c6dcba99e9b5a7c24a525f8365952","name":"aQbSolutions","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aqbsolutions.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d37e12c5e93bdf3f02abdb5c8a89bad8841bd4743b3b2ea558914abbb60c7414?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d37e12c5e93bdf3f02abdb5c8a89bad8841bd4743b3b2ea558914abbb60c7414?s=96&d=mm&r=g","caption":"aQbSolutions"},"url":"https:\/\/aqbsolutions.com\/blog\/author\/aqbsolutions\/"}]}},"_links":{"self":[{"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5116"}],"version-history":[{"count":6,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5116\/revisions"}],"predecessor-version":[{"id":6219,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5116\/revisions\/6219"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/media\/6208"}],"wp:attachment":[{"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aqbsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}