FaceClient Class

Definition

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)

Initializes a new instance of FaceClient.

FaceClient(Uri, AzureKeyCredential, AzureAIVisionFaceClientOptions)

Initializes a new instance of FaceClient.

FaceClient(Uri, TokenCredential)

Initializes a new instance of FaceClient.

FaceClient(Uri, TokenCredential, AzureAIVisionFaceClientOptions)

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.

Applies to