Created
October 16, 2018 17:28
-
-
Save lettucebo/3351a9a651e0f6ceef9046a0a2a7d9c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine("Images being analyzed ..."); | |
ImageAnalysis analysis = | |
await client.AnalyzeImageAsync(imageUrl, features); | |
Console.WriteLine("Text: " + analysis.Description.Captions[0].Text); | |
Console.WriteLine("Confidence: " + analysis.Description.Captions[0].Confidence); | |
Console.WriteLine("Categories: " + string.Join(", ", analysis.Categories.Select(x=>x.Name))); | |
Console.WriteLine("Tags: " + string.Join(", ", analysis.Tags.Select(x=>x.Name))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment