Submit a Person Group training task. Training is a crucial step that only a trained Person Group can be used by "Identify From Person Group".
Changed onThe training task is an asynchronous task. Training time depends on the number of person entries, and their faces in a Person Group. It could be several seconds to minutes. To check training status, please use "Get Person Group Training Status".
post/persongroups/{personGroupId}/train
Request
- Base URL{endpoint}/face/{apiVersion}
- Auth
- API key in header Ocp-Apim-Subscription-Key
- or OAuth 2Authorization codehttps://api.example.com/oauth2/authorizeToken URLhttps://api.example.com/oauth2/tokenScopeshttps://cognitiveservices.azure.com/.default
Path parameters
personGroupIdstring required
ID of the container.
Response
A successful call returns an empty response body.
Changes
- info
api operation id
PersonGroup_Trainremoved and replaced withPersonGroupOperations_TrainPersonGroup
- info