0
我收到以下错误:存在明确的转换。你错过了演员吗?
An explicit conversion exists. Are you missing a cast?
这是为什么?
private async void getEmotion_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
{
try
{
emotionResult = await emotionServiceClient.RecognizeAsync(imageStream.AsStream());
if(emotionResult != null)
{
Scores score = emotionResult[0].Scores;
}
}
catch
{
Output.Text = "Error returning the Emotion";
}
}