Group Operations Extensions Class
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.
Extension methods for PersonGroupOperations.
public static class PersonGroupOperationsExtensions
type PersonGroupOperationsExtensions = class
Public Module PersonGroupOperationsExtensions
|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.