private async void AmIFamiliarButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) { await localPhotoStorage.Save(PHOTO_FILE_NAME); var result = await imageProcessing.RecognizeFace(localPhotoStorage.GetLastPhotoSaved()); if (result) { interogationResult.Text = string.Format("Hello !! It's glad to see you !!"); } else { interogationResult.Text = string.Format("I do not recognize you, I'm sorry !!"); } PlayText(interogationResult.Text); }