Last active
December 9, 2019 15:31
-
-
Save GroupDocsGists/67a61346274884515c932320742c3a00 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
try | |
{ | |
var response = classifier.Classify("document.pdf", "file path here", 2, Taxonomy.Iab2); | |
Console.WriteLine(response.BestClassName, response.BestClassProbability); | |
} | |
catch (ApiException e) | |
{ | |
Console.WriteLine(e.Message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment