{"id":1637,"date":"2019-02-26T00:00:00","date_gmt":"2019-02-26T08:00:00","guid":{"rendered":"https:\/\/azure.microsoft.com\/blog\/running-cognitive-services-on-iot-edge"},"modified":"2025-06-17T02:17:22","modified_gmt":"2025-06-17T09:17:22","slug":"running-cognitive-services-on-iot-edge","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/","title":{"rendered":"Running Cognitive Services on Azure IoT Edge"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>This blog post is co-authored by Emmanuel Bertrand, Senior Program Manager, Azure IoT.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We recently announced Azure Cognitive Services in containers for <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/computer-vision\/home\" target=\"_blank\" rel=\"noopener\">Computer Vision<\/a>, <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/face\/overview\">Face<\/a>, <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/text-analytics\/how-tos\/text-analytics-how-to-install-containers\" target=\"_blank\" rel=\"noopener\">Text Analytics<\/a>, and <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cognitive-services\/luis\/luis-container-howto\" target=\"_blank\" rel=\"noopener\">Language Understanding<\/a>. You can read more about Azure Cognitive Services containers in this blog, \u201c<a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/bringing-ai-to-the-edge\/\" target=\"_blank\" rel=\"noopener\">Brining AI to the edge<\/a>.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Today, we are happy to announce the support for running Azure Cognitive Services containers for Text Analytics and Language Understanding containers on edge devices with <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/iot-edge\/\" target=\"_blank\" rel=\"noopener\">Azure IoT Edge<\/a>. This means that all your workloads can be run locally where your data is being generated while keeping the simplicity of the cloud to manage them remotely, securely and at scale.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\" alt=\"Image displaying containers that align with Vision and Langauge\" style=\"border-radius:0px\" title=\"Image displaying containers that align with Vision and Langauge\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you don\u2019t have a reliable internet connection, or want to save on bandwidth cost, have super low latency requirements, or are dealing with sensitive data that needs to be analyzed on-site, Azure IoT Edge with the Cognitive Services containers gives you consistency with the cloud. This allows you to run your analysis on-site and a single pane of glass to operate all your sites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These container images are directly available to try as IoT Edge modules on the <a href=\"https:\/\/azuremarketplace.microsoft.com\/en-us\/marketplace\/apps\/category\/internet-of-things?filters=microsoft&amp;page=1\" target=\"_blank\" rel=\"noopener\">Azure Marketplace<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\"><a href=\"https:\/\/hub.docker.com\/r\/microsoft\/azure-cognitive-services-keyphrase\/\" target=\"_blank\" rel=\"noopener\">Key Phrase Extraction<\/a> extracts key talking points and highlights in text either from English, German, Spanish, or Japanese.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><a href=\"https:\/\/hub.docker.com\/r\/microsoft\/azure-cognitive-services-language\/\" target=\"_blank\" rel=\"noopener\">Language Detection<\/a> detects the natural language of text with a total of 120 languages supported.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><a href=\"https:\/\/hub.docker.com\/r\/microsoft\/azure-cognitive-services-sentiment\/\" target=\"_blank\" rel=\"noopener\">Sentiment Analysis<\/a> detects the level of positive or negative sentiment for input text using a confidence score across a <a href=\"https:\/\/docs.microsoft.com\/azure\/cognitive-services\/text-analytics\/text-analytics-supported-languages\" target=\"_blank\" rel=\"noopener\">variety of languages<\/a>.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><a href=\"https:\/\/hub.docker.com\/r\/microsoft\/azure-cognitive-services-luis\/\" target=\"_blank\" rel=\"noopener\">Language Understanding<\/a> applies custom machine learning intelligence to a user\u2019s conversational and natural language text to predict overall meaning and pull out relevant and detailed information.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Please note, the Face and Recognize Text containers are still gated behind a preview, thus are not yet available via the marketplace. However you can deploy them manually by first <a href=\"https:\/\/forms.office.com\/Pages\/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR0XnG25zkIBLkA6GR39U7fRUQVE2MUVDVVJBVlU2Qk5TQTI1MVRSRExUMS4u\">signing up to for the preview<\/a> to get access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, we describe how to provision Language Detection container on your edge device locally and how you manage it through Azure IoT.&nbsp;Currently these containers run <u>only<\/u> on X64 based devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"set-up-an-iot-edge-device-and-its-iot-hub\">Set up an IoT Edge device and its IoT Hub<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the first steps in this <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/iot-edge\/quickstart-linux\" target=\"_blank\" rel=\"noopener\">quick-start<\/a> for setting up your IoT Edge device and your IoT Hub.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It first walks you through creating an IoT Hub and then registering an IoT Edge device to your IoT hub. Here is a screenshot of a newly created edge device called \u201cLanguageDetection&#8221; under the IoT Hub called \u201cCSContainers&#8221;. Select the <strong>device<\/strong>, copy its <strong>primary connection string<\/strong>, and <strong>save it<\/strong> for later.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/331301fd-4bfd-4fc1-8fad-26989b9c060a.webp\" alt=\"Screenshot of a newly created Edge device \" style=\"border-radius:0px\" title=\"Screenshot of a newly created Edge device \" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, it guides you through setting up the IoT Edge device. If you don\u2019t have a physical edge device, it is recommended to deploy the <a href=\"https:\/\/azuremarketplace.microsoft.com\/en-ca\/marketplace\/apps\/microsoft_iot_edge.iot_edge_vm_ubuntu?tab=Overview\" target=\"_blank\" rel=\"noopener\">Ubuntu Server 16.04 LTS and Azure IoT Edge<\/a> runtime virtual machine (VM) which is available on the Azure Marketplace. It is an Azure Virtual Machine that comes with IoT Edge pre-installed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The last step is to connect your IoT Edge device to your IoT Hub by giving it its connection string created above. To do that, edit the device configuration file under <strong>\/etc\/iotedge\/config.yaml <\/strong>file and update the connection string. After the connection string is update, restart the edge device with <strong>sudo systemctl restart iotedge<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"provisioning-a-cognitive-service-language-detection-iot-edge-module\">Provisioning a Cognitive Service (Language Detection IoT Edge module)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The images are directly available as IoT edge modules from the Iot Hub <a href=\"https:\/\/azuremarketplace.microsoft.com\/en\/marketplace\/apps\/category\/internet-of-things?page=1&amp;filters=microsoft\" target=\"_blank\" rel=\"noopener\">marketplace<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/14e27aeb-e840-4aa9-9898-e26d3052c773.webp\" alt=\"Screenshot of Language Detection Container offering in the Azure Marketplace\" style=\"border-radius:0px\" title=\"Screenshot of Language Detection Container offering in the Azure Marketplace\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here we\u2019re using the Language Detection image as an example, however other images work the same way. To download the image, search for the image and select <strong>Get it now<\/strong>, this will take you to the Azure portal \u201cTarget Devices for IoT Edge Module\u201d page. Select your <strong>subscription<\/strong> with your <strong>IoT Hub<\/strong>, select<strong> Find Device<\/strong> and your <strong>IoT Edge device<\/strong>, then click the <strong>Select<\/strong> and <strong>Create<\/strong> buttons.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/9653044c-fb78-4c22-9a9d-d26cf3870dd2.webp\" alt=\"Screenshot of target devices for IoT Edge modules\" title=\"Screenshot of target devices for IoT Edge modules\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><figure><img loading=\"lazy\" decoding=\"async\" title=\"Screenshot for selecting device to deploy on and creating\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/52f90ab6-d02a-4589-8e53-46842402bdda.webp\" alt=\"Screenshot for selecting device to deploy on and creating\" width=\"617\" height=\"347\"><\/figure><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuring-your-cognitive-service\">Configuring your Cognitive Service<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now you\u2019re almost ready to deploy the Cognitive Service to your IoT Edge device. But in order to run a container you need to get a valid API key and billing endpoints, then pass them as environment variables in the module details.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/22a9831d-1c0b-418f-8a14-5b59cccaa502.webp\" alt=\"Screenshot of setting deployment modules\" style=\"border-radius:0px\" title=\"Screenshot of setting deployment modules\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the Azure portal and <a href=\"https:\/\/portal.azure.com\/\" target=\"_blank\" rel=\"noopener\">open the Cognitive Services blade<\/a>. If you don\u2019t have a Cognitive Service that matches the container, in this case a Text Analytics service, then select <strong>add<\/strong> and create one. Once you have a Cognitive Service get the endpoint and API key, you\u2019ll need this to fire up the container:<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/9c5acfb8-ac4b-40eb-9f38-f0380a5da036.webp\" alt=\"Screenshot showing the retrival of the endpoint and API key\" style=\"border-radius:0px\" title=\"Screenshot showing the retrival of the endpoint and API key\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The endpoint is strictly used for billing only, no customer data ever flows that way. Copy your billing endpoint value to the \u201cbilling\u201d environment variable and copy your API key value to the \u201capikey\u201d environment variable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"deploy-the-container\">Deploy the container<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All required info is now filled in and you only need to complete the IoT Edge deployment. Select <strong>Next<\/strong> and then <strong>Submit<\/strong>. Verify that the deployment is happening properly by refreshing the IoT Edge device details section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verify that the deployment is happening properly by refreshing the IoT Edge device details section.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/36712ab0-50f5-48d8-a520-e2fef3f1f7fc.webp\" alt=\"Screenshot of IoT Edge device details section\" style=\"border-radius:0px\" title=\"Screenshot of IoT Edge device details section\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"trying-it-out\">Trying it out<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To try things out, we\u2019ll make an HTTP call to the IoT Edge device that has the Cognitive Service container running.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For that, we\u2019ll first need to make sure that the port 5000 of the edge device is open. If you\u2019re using the pre-built Ubuntu with IoT Edge Azure VM as an edge device, first go to <strong>VM details<\/strong>, then <strong>Settings<\/strong>, <strong>Networking<\/strong>, and <strong>Outbound port rule <\/strong>to add an outbound security rule to open port 5000. Also copy the Public IP address of your device.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now you should be able to query the Cognitive Service running on your IoT Edge device from any machine with a browser. Open your favorite browser and go to <strong>https:\/\/your-iot-edge-device-ip-address:5000<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, select <strong>Service API Description<\/strong> or jump directly to <strong>https:\/\/your-iot-edge-device-ip-address:5000\/swagger<\/strong>. This will give you a detailed description of the API.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/632864fd-1457-4084-af4f-c6b5f87ee356.webp\" alt=\"Screenshot showing a detailed description of the Language Detection Cognitive Service API\" style=\"border-radius:0px\" title=\"Screenshot showing a detailed description of the Language Detection Cognitive Service API\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select <strong>Try it out<\/strong> and then<strong> Execute<\/strong>, you can change the input value as you like.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/c19dec30-2901-4fe6-beea-e06c157a79c3.webp\" alt=\"Screenshot of executing the API\" style=\"border-radius:0px\" title=\"Screenshot of executing the API\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The result will show up further down on the page and should look something like the following image:<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/4bf355a2-a3f3-4e0d-ad79-7afb709ba688.webp\" alt=\"Screenshot of results after executing the API\" style=\"border-radius:0px\" title=\"Screenshot of results after executing the API\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"next-steps\">Next steps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You are now up and running! You are running the Cognitive Services on your own IoT Edge device, remotely managed via your central IoT Hub. You can use this setup to manage millions of devices in a secure way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can play around with the various Cognitive Services already available in the <a href=\"https:\/\/aka.ms\/iot-edge-marketplace\" target=\"_blank\" rel=\"noopener\">Azure Marketplace<\/a> and try out various scenarios. Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1454,1466,1485],"tags":[],"audience":[3057,3055,3053,3056],"content-type":[1511],"product":[1487,3164],"tech-community":[],"topic":[],"coauthors":[97],"class_list":["post-1637","post","type-post","status-publish","format-standard","hentry","category-ai-machine-learning","category-hybrid-multicloud","category-internet-of-things","audience-data-professionals","audience-developers","audience-it-decision-makers","audience-it-implementors","content-type-best-practices","product-azure-iot-edge","product-microsoft-foundry","review-flag-1680286581-295","review-flag-iot-1680286585-835","review-flag-machi-1680286585-314","review-flag-vm-1680286585-143"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-26T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-17T09:17:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\" \/>\n<meta name=\"author\" content=\"Microsoft Azure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Azure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/\",\"@type\":\"Person\",\"@name\":\"Microsoft Azure\"}],\"headline\":\"Running Cognitive Services on Azure IoT Edge\",\"datePublished\":\"2019-02-26T08:00:00+00:00\",\"dateModified\":\"2025-06-17T09:17:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\"},\"wordCount\":1065,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\",\"articleSection\":[\"AI + machine learning\",\"Hybrid + multicloud\",\"Internet of things\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\",\"name\":\"Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\",\"datePublished\":\"2019-02-26T08:00:00+00:00\",\"dateModified\":\"2025-06-17T09:17:22+00:00\",\"description\":\"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI + machine learning\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/ai-machine-learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Running Cognitive Services on Azure IoT Edge\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog","description":"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.","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:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/","og_locale":"en_US","og_type":"article","og_title":"Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog","og_description":"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2019-02-26T08:00:00+00:00","article_modified_time":"2025-06-17T09:17:22+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp","type":"","width":"","height":""}],"author":"Microsoft Azure","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Microsoft Azure","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/","@type":"Person","@name":"Microsoft Azure"}],"headline":"Running Cognitive Services on Azure IoT Edge","datePublished":"2019-02-26T08:00:00+00:00","dateModified":"2025-06-17T09:17:22+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/"},"wordCount":1065,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp","articleSection":["AI + machine learning","Hybrid + multicloud","Internet of things"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/","name":"Running Cognitive Services on Azure IoT Edge | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp","datePublished":"2019-02-26T08:00:00+00:00","dateModified":"2025-06-17T09:17:22+00:00","description":"We recently announced Cognitive Services running in Docker containers with an initial set of containers ranging from Computer Vision, Face, Text Analytics, and Language Understanding.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/26d90a90-75f0-4526-831c-bedcc4cbd2ea.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/running-cognitive-services-on-iot-edge\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"AI + machine learning","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/ai-machine-learning\/"},{"@type":"ListItem","position":3,"name":"Running Cognitive Services on Azure IoT Edge"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=1637"}],"version-history":[{"count":2,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1637\/revisions"}],"predecessor-version":[{"id":42052,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1637\/revisions\/42052"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=1637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=1637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=1637"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=1637"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=1637"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=1637"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=1637"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=1637"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=1637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}