public static void DeletePersonGroup(string subscriptionKey, string endpoint, string groupId, int throttleMs) { PersonGroup.Delete(subscriptionKey, endpoint, groupId, Console.WriteLine, throttleMs).Wait(); }
public static void TrainPersonGroup(string subscriptionKey, string endpoint, string groupId, string groupName, string directory, bool deleteExisting, int throttleMs) { PersonGroup.Create(subscriptionKey, endpoint, groupId, groupName, deleteExisting, Console.WriteLine, throttleMs).Wait(); PersonGroup.AddFaces(subscriptionKey, endpoint, groupId, directory, Console.WriteLine, throttleMs).Wait(); PersonGroup.Train(subscriptionKey, endpoint, groupId, Console.WriteLine, throttleMs).Wait(); }