Face verification

Check the likelihood that two faces belong to the same person. The API will return a confidence score about how likely it is that the two faces belong to one person.

See it in action

Verification result: The two faces belong to the same person. Confidence is 0.92199.

Want to build this?

Face detection

Detect human faces in an image, including small, sideways, and blurry faces. The service can also make machine learning-based predictions of features and attributes, including age, emotion, gender, pose, smile, and facial hair, along with 27 landmarks for each face in the image.

See it in action

Detection result:
[ { "faceId": "aeba021b-e9f1-4f77-9891-f3111455d7b0", "faceRectangle": { "top": 76, "left": 446, "width": 226, "height": 284 }, "faceAttributes": null, "faceLandmarks": null } ]

Want to build this?

Emotion recognition

The Face API now integrates emotion recognition, returning the confidence across a set of emotions for each face in the image such as anger, contempt, disgust, fear, happiness, neutral, sadness, and surprise. These emotions are understood to be cross-culturally and universally communicated with particular facial expressions.

See it in action

Anger 0.00000
Contempt 0.00000
Disgust 0.00000
Fear 0.00000
Happiness 0.19600
Neutral 0.00000
Sadness 0.00000
Surprise 0.80300
Detection result:
1 faces detected

[ { "faceRectangle": { "top": 141, "left": 130, "width": 162, "height": 162 }, "faceAttributes": { "emotion": { "anger": 0.0, "contempt": 0.0, "disgust": 0.0, "fear": 0.0, "happiness": 0.196, "neutral": 0.0, "sadness": 0.0, "surprise": 0.803 } } } ]

Want to build this?

Face identification

Face API enables you to search, identify, and match faces in your private repository of up to 1 million people.

Similar face search

Easily find similar-looking faces. Given a collection of faces and a new face as a query, this API will return a collection of similar faces.

Face grouping

Organize many unidentified faces together into groups, based on their visual similarity.

"By enhancing our service with the Face API, we have a competitive advantage in markets that demand a high degree of facial detection accuracy."

Daniel Amitai: Vice President of Business Development | Cloudinary

"Because the Cognitive Services APIs harness the power of machine learning, we were able to bring advanced intelligence into our product without the need to have a team of data scientists on hand."

Aaron Edell: Chief Product Owner | GrayMeta

"We found Cognitive Services to be the missing piece in the equation, the one that we needed to bring this solution to market and really revolutionize the way people look at video."

Katie McCann: Vice President of Product and Engineering | Prism Skylabs
Prism Skylabs

"Thousands of partners sign in to our platform every hour. The response time from the Face API is incredible, enabling us to verify our drivers without slowing them down."

Dima Kovalev: Product Manager | Uber

"It didn't take us long to realize Microsoft Cognitive Services had handed us a powerful set of computer-vision and artificial-intelligence tools that we could use to create great apps and new features for our customers in just a few hours."

John Fan: Cofounder and CEO | Cardinal Blue Software
Pic Collage

"Using the Cognitive Services APIs, it took us three months to develop a test pair of glasses that can translate text and images into speech, identify emotions, and describe scenery. If we had been working full time, we could have done it in two weeks."

Benoit Chirouter: R&D Director | Pivothead

Explore the Cognitive Services APIs

Computer Vision

Distill actionable information from images


Detect, identify, analyze, organize, and tag faces in photos

Ink Recognizer

An AI service that recognizes digital ink content, such as handwriting, shapes, and ink document layout

Video Indexer

Unlock video insights

Custom Vision

Easily customize your own state-of-the-art computer vision models for your unique use case

Form Recognizer

The AI-powered document extraction service that understands your forms

Text Analytics

Easily evaluate sentiment and topics to understand what users want

Translator Text

Easily conduct machine translation with a simple REST API call

QnA Maker

Distill information into conversational, easy-to-navigate answers

Language Understanding

Teach your apps to understand commands from your users

Immersive Reader

Empower users of all ages and abilities to read and comprehend text

Speech Services

Unified speech services for speech-to-text, text-to-speech and speech translation

Speaker Recognition

Use speech to identify and verify individual speakers

Speech Translation

Easily integrate real-time speech translation to your app

Speech to Text

Convert spoken audio to text for more natural interactions

Text to Speech

Convert text to speech to create more natural, accessible interfaces

Content Moderator

Automated image, text, and video moderation

Anomaly Detector

Easily add anomaly detection capabilities to your apps.


An AI service that delivers a personalized user experience

Ready to supercharge your app?