How do I call Cognitive Services from Azure Machine Learning?

AzureML Microsoft has a multitude of tools and libraries for developers who want to utilize machine learning, from the Cognitive Services which perform facial detection, emotion recognition, text analytics, and more with a simple API call, to Azure Machine Learning which allows you to build your own custom ML models, to the CNTK which is our open-sourced deep-learning toolkit. 

Sometimes you may want to use this technology together.  In a recent project, I wanted to call the Cognitive Services Face APIs from inside of an AzureML model that I was building.  Currently, the best way to do this is using an “Execute Python Script” module to call out to a Cognitive Services web service.  There is a sample that you can leverage to help you get started at

Comments (1)
  1. I was researching content for our social media strategy and came across your fantastic blog. I just wanted to reach out and make an introduction. My name is Elizabeth Britton, and I’m a Marketing Coordinator with Syncfusion. Please let me know if you have any great posts you would possibly want mentioned in our social media content. Keep up the great work on your blog!

Comments are closed.

Skip to main content