PersonGroupOperations Class
Definition
PersonGroupOperations operations.
public class PersonGroupOperations : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonGroupOperations, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.Vision.Face.FaceClient>
type PersonGroupOperations = class
interface IServiceOperations<FaceClient>
interface IPersonGroupOperations
Public Class PersonGroupOperations
Implements IPersonGroupOperations, IServiceOperations(Of FaceClient)
- Inheritance
-
PersonGroupOperations
- Implements
Constructors
PersonGroupOperations(FaceClient) |
Initializes a new instance of the PersonGroupOperations class. |
Properties
Client |
Gets a reference to the FaceClient |
Methods
CreateWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Create a new person group with specified personGroupId, name, user-provided userData and recognitionModel. <br /> A person group is the container of the uploaded person data, including face images and face recognition features. <br /> After creation, use PersonGroup Person - Create to add persons into the group, and then call PersonGroup - Train to get this group ready for Face - Identify. <br /> The person's face, image, and userData will be stored on server until PersonGroup Person - Delete or PersonGroup - Delete is called. <br />
|
DeleteWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken) |
Delete an existing person group. Persisted face features of all people in the person group will also be deleted. |
GetTrainingStatusWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken) |
Retrieve the training status of a person group (completed or ongoing). |
GetWithHttpMessagesAsync(String, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken) |
Retrieve person group name, userData and recognitionModel. To get person information under this personGroup, use PersonGroup Person - List. |
ListWithHttpMessagesAsync(String, Nullable<Int32>, Nullable<Boolean>, Dictionary<String,List<String>>, CancellationToken) |
List person groups’s personGroupId, name, userData and recognitionModel.<br />
|
TrainWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken) |
Queue a person group training task, the training task may not be started immediately. |
UpdateWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken) |
Update an existing person group's display name and userData. The properties which does not appear in request body will not be updated. |
Extension Methods
CreateAsync(IPersonGroupOperations, String, String, String, String, CancellationToken) |
Create a new person group with specified personGroupId, name, user-provided userData and recognitionModel. <br /> A person group is the container of the uploaded person data, including face images and face recognition features. <br /> After creation, use PersonGroup Person - Create to add persons into the group, and then call PersonGroup - Train to get this group ready for Face - Identify. <br /> The person's face, image, and userData will be stored on server until PersonGroup Person - Delete or PersonGroup - Delete is called. <br />
|
DeleteAsync(IPersonGroupOperations, String, CancellationToken) |
Delete an existing person group. Persisted face features of all people in the person group will also be deleted. |
GetAsync(IPersonGroupOperations, String, Nullable<Boolean>, CancellationToken) |
Retrieve person group name, userData and recognitionModel. To get person information under this personGroup, use PersonGroup Person - List. |
GetTrainingStatusAsync(IPersonGroupOperations, String, CancellationToken) |
Retrieve the training status of a person group (completed or ongoing). |
ListAsync(IPersonGroupOperations, String, Nullable<Int32>, Nullable<Boolean>, CancellationToken) |
List person groups’s personGroupId, name, userData and recognitionModel.<br />
|
TrainAsync(IPersonGroupOperations, String, CancellationToken) |
Queue a person group training task, the training task may not be started immediately. |
UpdateAsync(IPersonGroupOperations, String, String, String, CancellationToken) |
Update an existing person group's display name and userData. The properties which does not appear in request body will not be updated. |