Cognitive Services

Enable natural and contextual interaction with tools that augment users’ experiences using the power of machine-based intelligence. Tap into an ever-growing collection of powerful artificial intelligence algorithms for vision, speech, language and knowledge.

Pivothead GrayMeta Pic Collage Uber

Put intelligence APIs to work

Microsoft Cognitive Services let you build apps with powerful algorithms using just a few lines of code. They work across devices and platforms such as iOS, Android and Windows, keep improving and are easy to set up.

See just one of the many insights we can infer from your data with this demo of the Emotion API.

Discover Emotion API in action

Anger 0.00000
Contempt 0.00000
Disgust 0.00000
Fear 0.00000
Happiness 1.00000
Neutral 0.00000
Sadness 0.00000
Surprise 0.00000
Anger 0.00245
Contempt 0.00055
Disgust 0.00633
Fear 0.00012
Happiness 0.95892
Neutral 0.02225
Sadness 0.00898
Surprise 0.00039
Anger 0.00001
Contempt 0.00000
Disgust 0.00000
Fear 0.00000
Happiness 0.99999
Neutral 0.00000
Sadness 0.00000
Surprise 0.00000
Anger 0.00000
Contempt 0.00000
Disgust 0.00000
Fear 0.00000
Happiness 0.99999
Neutral 0.00000
Sadness 0.00000
Surprise 0.00000
Detection result:
4 faces detected

JSON:
[ { "FaceRectangle": { "Top": 114, "Left": 212, "Width": 65, "Height": 65 }, "Scores": { "Anger": 1.0570484E-08, "Contempt": 1.52679547E-09, "Disgust": 1.60232943E-07, "Fear": 6.00660363E-12, "Happiness": 0.9999998, "Neutral": 9.449728E-09, "Sadness": 1.23025981E-08, "Surprise": 9.91396E-10 } }, { "FaceRectangle": { "Top": 141, "Left": 331, "Width": 52, "Height": 52 }, "Scores": { "Anger": 0.002451766, "Contempt": 0.0005512201, "Disgust": 0.0063303886, "Fear": 0.000122375583, "Happiness": 0.9589189, "Neutral": 0.0222537462, "Sadness": 0.008983561, "Surprise": 0.000388026354 } }, { "FaceRectangle": { "Top": 110, "Left": 70, "Width": 51, "Height": 51 }, "Scores": { "Anger": 5.382089E-06, "Contempt": 3.84402554E-08, "Disgust": 8.22284051E-07, "Fear": 1.46369352E-08, "Happiness": 0.999993265, "Neutral": 9.765083E-08, "Sadness": 9.01927848E-08, "Surprise": 2.7211172E-07 } }, { "FaceRectangle": { "Top": 116, "Left": 459, "Width": 45, "Height": 45 }, "Scores": { "Anger": 3.95796542E-06, "Contempt": 2.44360656E-08, "Disgust": 3.291685E-07, "Fear": 1.935065E-09, "Happiness": 0.9999912, "Neutral": 2.461666E-06, "Sadness": 1.96641076E-06, "Surprise": 8.561949E-08 } } ]

By uploading data for this demo, you agree that Microsoft may store it and use it to improve Microsoft services, such as making this API better. To help protect your privacy, we take steps to de-identify your data and keep it secure. We won’t publish your data or let other people use it.

Want to build this?

Have a look at the other Cognitive Services APIs

Vision

State-of-the-art image processing algorithms help you to moderate content automatically and build more personalised apps by returning smart insights about faces, images and emotions.

Speech

Processing spoken language in your applications

Language

Allow your apps to process natural language, evaluate sentiment and topics, and learn how to recognise what users want.

Knowledge

Map complex information and data in order to solve tasks such as intelligent recommendations and semantic search.

Labs

Take an early look at emerging Cognitive Services technologies. Early adopters who do not need market-ready technology can discover, try and provide feedback on new Cognitive Services technologies before they are become generally available.

Gesture based controls

Route logistics

Distance matrix

Isochrones calculations

Event associated with Wikipedia entries

Location insights

Try Cognitive Services with a free Azure account