Introduction
I have written before about learning data science and how it's something every developer should consider learning at least something about. Like most things, once you learn the basics, it's another useful tool to have in your belt of engineering tricks to solve problems for customers. Just like you don't need to be a mathematician to do basic equations and balance your household budget, you likewise do not need to be a full-fledged data scientist or have a Ph.D. to be able to use the power of Machine Learning and so-called Artificial Intelligence.
Microsoft and others are extremely good at taking big technologies and building services around them that bring what may seem difficult within reach of the general development community. If one has time to spend learning the deep core fundamentals of this branch of computing that's great; but where other things take a priority and you still need to utilize the power of Machine learning and Artificial Intelligence, there are some great APIs you can hook into. Recently, Microsoft rolled out further advances in the area under the banner of 'Cognitive services'... and they are really quite impressive.


The offering is provided by Microsoft as a series of REST-based API services, available here. By exposing the power of the underlying services via a web-based API, the service allows us to integrate very powerful features into modern applications both web and mobile-based. The APIs offered cover a broad range that includes Vision, Speech, Language, Knowledge, and Search.
The first question I usually ask of new technology offerings is 'what can it do for me?' ... from here, I decide if it is worth looking into further or not. I often find that examples given by vendors may not be applicable to me immediately, but sit at the back of my head and become useful at a later stage. Let's take a look at some of what is there and see if it is worth deeper investigation.
The vision service covers Computer vision, Content moderation, Emotion, Face and Video. Here are some examples of how these are useful.
Using the Face Detection API, you can upload an image (or point to an online URL), and the API will return information about any faces located in the image. In this example, you can see my handsome visage and what are called 'face landmarks' that the API identified. These can be used in conjunction with other services as you will see later.
One of the uses of the API is verifying if facial images belong to the same person and by examining the probability score returned, you can measure the confidence of the match.
The face API and its corresponding moving picture Video API can also be used to get extract deeper understanding from images. The following examples show the service identifying the gender of a person in the image together with the age estimate.
Emotions are also possible to detect and report on.
Let's look at another very powerful example. This one analyzes an image uploaded of a swimmer, and is capable of giving us information about what's happening in the image - very impressive!
Before we move on, let us look at analyzing text that's embedded within images, these two examples' demonstration text being extracted that's both typeset and handwritten. All data of course as you can see is returned in JSON format.




The text analysis service is equally as powerful, offering a lot of opportunities to add value to systems we develop. Text analysis can extract key phrases, detect the topic of the text, and the language the text is written in among other things. Sentiment analysis is only provided at this date (April 2017) in English, French, Spanish, and Portuguese, but more are to follow



Intro videos
summary
In this article, we learned about Microsoft Cognitive Services Leap Forward.

Rafnas T PPosted Apr 24, 2017, 7:03 AM
I love this Cognitive Services, As they giving amazing results.
Afzaal Ahmad ZeeshanPosted Apr 23, 2017, 8:46 AM
Cognitive Services are really an amazing package by Microsoft. Artificial Intelligence? Maybe. Amazing AF? totally!