Condividi tramite


PersonGroupPerson Class

Definition

PersonGroupPerson operations.

public class PersonGroupPerson : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupPerson, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient>
type PersonGroupPerson = class
    interface IServiceOperations<FaceClient>
    interface IPersonGroupPerson
Public Class PersonGroupPerson
Implements IPersonGroupPerson, IServiceOperations(Of FaceClient)
Inheritance
PersonGroupPerson
Implements

Constructors

PersonGroupPerson(FaceClient)

Initializes a new instance of the PersonGroupPerson class.

Properties

Client

Gets a reference to the FaceClient

Methods

AddFaceFromStreamWithHttpMessagesAsync(String, Guid, Stream, String, IList<Int32>, String, Dictionary<String,List<String>>, CancellationToken)
AddFaceFromUrlWithHttpMessagesAsync(String, Guid, String, String, IList<Int32>, String, Dictionary<String,List<String>>, CancellationToken)
CreateWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

Create a new person in a specified person group.

DeleteFaceWithHttpMessagesAsync(String, Guid, Guid, Dictionary<String,List<String>>, CancellationToken)

Delete a face from a person. Relative feature for the persisted face will also be deleted.

DeleteWithHttpMessagesAsync(String, Guid, Dictionary<String,List<String>>, CancellationToken)

Delete an existing person from a person group. All stored person data, and face features in the person entry will be deleted.

GetFaceWithHttpMessagesAsync(String, Guid, Guid, Dictionary<String,List<String>>, CancellationToken)

Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId).

GetWithHttpMessagesAsync(String, Guid, Dictionary<String,List<String>>, CancellationToken)

Retrieve a person's information, including registered persisted faces, name and userData.

ListWithHttpMessagesAsync(String, String, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).

UpdateFaceWithHttpMessagesAsync(String, Guid, Guid, String, Dictionary<String,List<String>>, CancellationToken)

Update a person persisted face's userData field.

UpdateWithHttpMessagesAsync(String, Guid, String, String, Dictionary<String,List<String>>, CancellationToken)

Update name or userData of a person.

Extension Methods

AddFaceFromStreamAsync(IPersonGroupPerson, String, Guid, Stream, String, IList<Int32>, String, CancellationToken)
AddFaceFromUrlAsync(IPersonGroupPerson, String, Guid, String, String, IList<Int32>, String, CancellationToken)
CreateAsync(IPersonGroupPerson, String, String, String, CancellationToken)

Create a new person in a specified person group.

DeleteAsync(IPersonGroupPerson, String, Guid, CancellationToken)

Delete an existing person from a person group. All stored person data, and face features in the person entry will be deleted.

DeleteFaceAsync(IPersonGroupPerson, String, Guid, Guid, CancellationToken)

Delete a face from a person. Relative feature for the persisted face will also be deleted.

GetAsync(IPersonGroupPerson, String, Guid, CancellationToken)

Retrieve a person's information, including registered persisted faces, name and userData.

GetFaceAsync(IPersonGroupPerson, String, Guid, Guid, CancellationToken)

Retrieve information about a persisted face (specified by persistedFaceId, personId and its belonging personGroupId).

ListAsync(IPersonGroupPerson, String, String, Nullable<Int32>, CancellationToken)

List all persons in a person group, and retrieve person information (including personId, name, userData and persistedFaceIds of registered faces of the person).

UpdateAsync(IPersonGroupPerson, String, Guid, String, String, CancellationToken)

Update name or userData of a person.

UpdateFaceAsync(IPersonGroupPerson, String, Guid, Guid, String, CancellationToken)

Update a person persisted face's userData field.

Applies to