Azure Cognitive Services – Vision API

Microsoft Cognitive Service (earlier called as  Project Oxford) is a bunch of APIs, SDKs and services available to software developers to build  intelligent, smart and discoverable applications .

Microsoft Cognitive Services focuses on Microsoft’s growing portfolio of machine learning APIs and it easily enables developers to add intelligent features – like detecting emotion in images; facial recognition, speech translation and vision recognition; and speech and language understanding – into their applications.

Microsoft’s vision is provide more and more personal computing experiences and enhanced productivity to each person and organisation on this planet by intelligent systems that increasingly can see, hear, speak, understand and even begin to reason.

Vision API renders information about visual content found in an image. It use tagging, domain-specific models and descriptions in four languages to identify content and label it with confidence. You can apply the adult/racy settings to help you detect potential adult content. Vision API help you Identify image types and color schemes in pictures.

Vision API detect and extract handwritten text from notes, letters, essays, whiteboards, forms and other sources.We can reduce paper clutter and be more productive by taking photos of handwritten notes instead of transcribing them and make the digital notes easy to find by implementing search.

To use Microsoft Cognitive Service Vision APIs, you first need to create an account in the Azure portal.

  1. Now Sign to Azure Portal.
  2. Click Create a New Resource
  3. Select AI+Machine Learning Category
  4. Select Computer Vision
  5. Fill the required details as shown below and click Create.


Now copy the keys as shown below.


Now I am going to analyse this image which is stored locally on my system



and this image which is hosted on this blog having public URL of this image as “


I wrote following code to analyze these images

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.