你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FaceClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Face service client.
public class FaceClient
type FaceClient = class
Public Class FaceClient
- Inheritance
-
FaceClient
Constructors
FaceClient() |
Initializes a new instance of FaceClient for mocking. |
FaceClient(Uri, AzureKeyCredential, AzureAIVisionFaceClientOptions) |
Initializes a new instance of FaceClient. |
FaceClient(Uri, AzureKeyCredential) |
Initializes a new instance of FaceClient. |
FaceClient(Uri, TokenCredential, AzureAIVisionFaceClientOptions) |
Initializes a new instance of FaceClient. |
FaceClient(Uri, TokenCredential) |
Initializes a new instance of FaceClient. |
Properties
Pipeline |
The HTTP pipeline for sending and receiving REST requests and responses. |
Methods
Detect(BinaryData, FaceDetectionModel, FaceRecognitionModel, Boolean, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken) |
Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes. |
Detect(Uri, FaceDetectionModel, FaceRecognitionModel, Boolean, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken) |
Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes. |
DetectAsync(BinaryData, FaceDetectionModel, FaceRecognitionModel, Boolean, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken) |
Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes. |
DetectAsync(Uri, FaceDetectionModel, FaceRecognitionModel, Boolean, IEnumerable<FaceAttributeType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, CancellationToken) |
Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes. |
FindSimilar(Guid, IEnumerable<Guid>, Nullable<Int32>, Nullable<FindSimilarMatchMode>, CancellationToken) |
Given query face's faceId, to search the similar-looking faces from a faceId array. A faceId array contains the faces created by Detect. |
FindSimilar(RequestContent, RequestContext) |
[Protocol Method] Given query face's faceId, to search the similar-looking faces from a faceId array. A faceId array contains the faces created by Detect.
|
FindSimilarAsync(Guid, IEnumerable<Guid>, Nullable<Int32>, Nullable<FindSimilarMatchMode>, CancellationToken) |
Given query face's faceId, to search the similar-looking faces from a faceId array. A faceId array contains the faces created by Detect. |
FindSimilarAsync(RequestContent, RequestContext) |
[Protocol Method] Given query face's faceId, to search the similar-looking faces from a faceId array. A faceId array contains the faces created by Detect.
|
Group(IEnumerable<Guid>, CancellationToken) |
Divide candidate faces into groups based on face similarity. |
Group(RequestContent, RequestContext) |
[Protocol Method] Divide candidate faces into groups based on face similarity.
|
GroupAsync(IEnumerable<Guid>, CancellationToken) |
Divide candidate faces into groups based on face similarity. |
GroupAsync(RequestContent, RequestContext) |
[Protocol Method] Divide candidate faces into groups based on face similarity.
|
VerifyFaceToFace(Guid, Guid, CancellationToken) |
Verify whether two faces belong to a same person. |
VerifyFaceToFace(RequestContent, RequestContext) |
[Protocol Method] Verify whether two faces belong to a same person.
|
VerifyFaceToFaceAsync(Guid, Guid, CancellationToken) |
Verify whether two faces belong to a same person. |
VerifyFaceToFaceAsync(RequestContent, RequestContext) |
[Protocol Method] Verify whether two faces belong to a same person.
|