人脸

人脸验证

检查两张人脸属于同一人的可能性。API 将返回一个可信度评分,用于说明这两张脸属于同一人的可能性为多大。

在实际操作中查看

验证结果:两张脸属于同一个人。 置信度为 0.92199

想要生成它?

面部检测

检测图像中的一张或多张人脸,获取图像中人脸所在位置背面的矩形,以及包含基于机器学习的面部特征预测的人脸属性。提供的 面部属性特征包括:年龄、表情、性别、姿势、微笑和面部毛发,以及图像中每张脸上的 27 个特征点。

在实际操作中查看

性别 female
年龄 24
眼镜 ReadingGlasses
情感 高兴
检测结果:
JSON:
[ { "faceId": "d5a899b2-d639-4f1c-8363-93e8ec0da601", "faceRectangle": { "top": 128, "left": 459, "width": 224, "height": 224 }, "faceAttributes": { "hair": { "bald": 0.1, "invisible": false, "hairColor": [ { "color": "brown", "confidence": 0.99 }, { "color": "black", "confidence": 0.57 }, { "color": "red", "confidence": 0.36 }, { "color": "blond", "confidence": 0.34 }, { "color": "gray", "confidence": 0.15 }, { "color": "other", "confidence": 0.13 } ] }, "smile": 1.0, "headPose": { "pitch": -13.2, "roll": -11.9, "yaw": 5.0 }, "gender": "female", "age": 24.0, "facialHair": { "moustache": 0.0, "beard": 0.0, "sideburns": 0.0 }, "glasses": "ReadingGlasses", "makeup": { "eyeMakeup": true, "lipMakeup": true }, "emotion": { "anger": 0.0, "contempt": 0.0, "disgust": 0.0, "fear": 0.0, "happiness": 1.0, "neutral": 0.0, "sadness": 0.0, "surprise": 0.0 }, "occlusion": { "foreheadOccluded": false, "eyeOccluded": false, "mouthOccluded": false }, "accessories": [ { "type": "glasses", "confidence": 1.0 } ], "blur": { "blurLevel": "low", "value": 0.0 }, "exposure": { "exposureLevel": "goodExposure", "value": 0.48 }, "noise": { "noiseLevel": "low", "value": 0.0 } }, "faceLandmarks": { "pupilLeft": { "x": 504.8, "y": 206.8 }, "pupilRight": { "x": 602.5, "y": 178.4 }, "noseTip": { "x": 593.5, "y": 247.3 }, "mouthLeft": { "x": 529.8, "y": 300.5 }, "mouthRight": { "x": 626.0, "y": 277.3 }, "eyebrowLeftOuter": { "x": 461.0, "y": 186.8 }, "eyebrowLeftInner": { "x": 541.9, "y": 178.9 }, "eyeLeftOuter": { "x": 490.9, "y": 209.0 }, "eyeLeftTop": { "x": 509.1, "y": 199.5 }, "eyeLeftBottom": { "x": 509.3, "y": 213.9 }, "eyeLeftInner": { "x": 529.0, "y": 205.0 }, "eyebrowRightInner": { "x": 579.2, "y": 169.2 }, "eyebrowRightOuter": { "x": 633.0, "y": 136.4 }, "eyeRightInner": { "x": 590.5, "y": 184.5 }, "eyeRightTop": { "x": 604.2, "y": 171.5 }, "eyeRightBottom": { "x": 608.4, "y": 184.0 }, "eyeRightOuter": { "x": 623.8, "y": 173.7 }, "noseRootLeft": { "x": 549.8, "y": 200.3 }, "noseRootRight": { "x": 580.7, "y": 192.3 }, "noseLeftAlarTop": { "x": 557.2, "y": 234.6 }, "noseRightAlarTop": { "x": 603.2, "y": 225.1 }, "noseLeftAlarOutTip": { "x": 545.4, "y": 255.5 }, "noseRightAlarOutTip": { "x": 615.9, "y": 239.5 }, "upperLipTop": { "x": 591.1, "y": 278.4 }, "upperLipBottom": { "x": 593.2, "y": 288.7 }, "underLipTop": { "x": 597.1, "y": 308.0 }, "underLipBottom": { "x": 600.3, "y": 324.8 } } } ]

想要生成它?

表情识别

人脸 API 现已集成表情识别功能,可针对图像上所有面部的一系列表情(如气愤、蔑视、厌恶、恐惧、高兴、没有情绪、悲伤和惊讶)返回置信度。可以认为这些情感跨越了文化界限, 通常由特定的面部表情传达。

在实际操作中查看

愤怒 0.00000
蔑视 0.00000
厌恶 0.00000
害怕 0.00000
高兴 0.19600
中立 0.00000
悲伤 0.00000
惊喜 0.80300
检测结果:
检测到 1 张面孔

JSON:
[ { "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 } } } ]

想要生成它?

面部识别

人脸 API 可以搜索、识别专用存储库中的人脸,并将其与多达 1 百万人进行匹配。

相似脸搜索

轻松查找相似的人脸。给定一组人脸和一张新脸作为查询,该 API 将返回一组相似的人脸。

面部分组

根据视觉相似度,将无法识别的多个人脸组织成组。

"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
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
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
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
Pivothead

了解认知服务 API

计算机影像

从图像中提取可操作信息

人脸

检测、识别、分析、组织和标记照片中的人脸

墨迹识别器 预览版

一种可识别数字墨迹内容(例如手写内容、形状和墨迹文档布局)的 AI 服务

视频索引器

解锁视频见解

自定义视觉

为你独一无二的用例轻松自定义最先进的计算机影像模型

表单识别器 预览版

AI 驱动的文档提取服务,可理解表单

文本分析

轻松评估观点和主题以理解用户的需求

文本翻译

通过简单的 REST API 调用即可轻松进行机器翻译

QnA Maker

提取信息,并将其转化为一目了然的对话式答案

语言理解

教会应用理解用户发出的命令

沉浸式阅读器 预览版

使各年龄层和各种能力水平的用户都能阅读并理解文本

语音服务

针对语音转文本、文本转语音和语音翻译的统一语音服务

说话人识别 预览版

使用语音辨识和验证各个说话人的身份

内容审查器

自动化图像、文本和视频审查

异常检测器 预览版

将异常检测功能轻松嵌入到应用中。

个性化体验创建服务 预览版

提供个性化用户体验的 AI 服务

准备好好利用你的应用了吗?