private async void btnSave_Click(object sender, EventArgs e) { AzureFaceAPIRecognition azureFaceAPIRecognition = new AzureFaceAPIRecognition(); string strMessage = await azureFaceAPIRecognition.MakeCreateGroupRequest(txtGroupID.Text, txtGroupName.Text, txtDescription.Text); MessageBox.Show(strMessage); }
private async Task btnAzure_ClickAsync() { AzureFaceAPIRecognition azureFaceAPIRecognition = new AzureFaceAPIRecognition(); //txtResult.Text = await azureFaceAPIRecognition.MakeAnalysisRequest(currentPhoto); txtResult.Text = await azureFaceAPIRecognition.IdentifyPerson(txtCurrentGroup.Text, currentPhoto); }
private async void btnSave_Click(object sender, EventArgs e) { AzureFaceAPIRecognition azureFaceAPIRecognition = new AzureFaceAPIRecognition(); string result = await azureFaceAPIRecognition.AddPeopleToGroup(txtGroupID.Text, txtPersonName.Text, txtPersonLogin.Text); MessageBox.Show(result); }
private void btnSave_Click(object sender, EventArgs e) { AzureFaceAPIRecognition azureFaceAPIRecognition = new AzureFaceAPIRecognition(); azureFaceAPIRecognition.TrainingGroup(txtGroupID.Text); MessageBox.Show("OK"); }