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.
|
FindSimilarFromLargeFaceList(Guid, String, Nullable<Int32>, Nullable<FindSimilarMatchMode>, CancellationToken) |
Given query face's faceId, to search the similar-looking faces from a Large Face List. A 'largeFaceListId' is created by Create Large Face List. |
FindSimilarFromLargeFaceList(RequestContent, RequestContext) |
[Protocol Method] Given query face's faceId, to search the similar-looking faces from a Large Face List. A 'largeFaceListId' is created by Create Large Face List.
|
FindSimilarFromLargeFaceListAsync(Guid, String, Nullable<Int32>, Nullable<FindSimilarMatchMode>, CancellationToken) |
Given query face's faceId, to search the similar-looking faces from a Large Face List. A 'largeFaceListId' is created by Create Large Face List. |
FindSimilarFromLargeFaceListAsync(RequestContent, RequestContext) |
[Protocol Method] Given query face's faceId, to search the similar-looking faces from a Large Face List. A 'largeFaceListId' is created by Create Large Face List.
|
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.
|
IdentifyFromLargePersonGroup(IEnumerable<Guid>, String, Nullable<Int32>, Nullable<Single>, CancellationToken) |
1-to-many identification to find the closest matches of the specific query person face from a Large Person Group. |
IdentifyFromLargePersonGroup(RequestContent, RequestContext) |
[Protocol Method] 1-to-many identification to find the closest matches of the specific query person face from a Large Person Group.
|
IdentifyFromLargePersonGroupAsync(IEnumerable<Guid>, String, Nullable<Int32>, Nullable<Single>, CancellationToken) |
1-to-many identification to find the closest matches of the specific query person face from a Large Person Group. |
IdentifyFromLargePersonGroupAsync(RequestContent, RequestContext) |
[Protocol Method] 1-to-many identification to find the closest matches of the specific query person face from a Large Person Group.
|
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.
|
VerifyFromLargePersonGroup(Guid, String, Guid, CancellationToken) |
Verify whether a face belongs to a person in a Large Person Group. |
VerifyFromLargePersonGroup(RequestContent, RequestContext) |
[Protocol Method] Verify whether a face belongs to a person in a Large Person Group.
|
VerifyFromLargePersonGroupAsync(Guid, String, Guid, CancellationToken) |
Verify whether a face belongs to a person in a Large Person Group. |
VerifyFromLargePersonGroupAsync(RequestContent, RequestContext) |
[Protocol Method] Verify whether a face belongs to a person in a Large Person Group.
|