public static AnalyzeImageAsync ( this operations, string visualFeatures = "Categories", string details = default(string), string language = "en", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task |
operations |
this |
/// The operations group for this extension method.
/// |
visualFeatures |
string |
/// A string indicating what visual feature types to return. Multiple values
/// should be comma-separated.
/// <br/>Valid visual feature types include:
/// <br/>
/// <ul>
/// <li><b>Categories</b> - categorizes image content
/// according to a taxonomy defined in documentation. </li>
/// <li><b>Tags</b> - tags the image with a detailed list of
/// words related to the image content. </li>
/// <li><b>Description</b> - describes the image content
/// with a complete English sentence. </li>
/// <li><b>Faces</b> - detects if faces are present. If
/// present, generate coordinates, gender and age.</li>
/// <li><b >ImageType</b> - detects if image is clipart or a
/// line drawing.</li>
/// <li><b> Color</b> - determines the accent color,
/// dominant color, and whether an image is black&white.</li>
/// <li><b>Adult</b> - detects if the image is pornographic
/// in nature (depicts nudity or a sex act). Sexually suggestive content is
/// also detected.</li>
/// </ul>. Possible values include: 'ImageType', 'Faces', 'Adult',
/// 'Categories', 'Color', 'Tags', 'Description'
/// |
details |
string |
/// A string indicating which domain-specific details to return. Multiple
/// values should be comma-separated.
/// <br/>Valid visual feature types include:
/// <br/>
/// <ul>
/// <li><b >Celebrities</b> - identifies celebrities if
/// detected in the image.</li>
/// </ul>
/// . Possible values include: 'Celebrities'
/// |
language |
string |
/// A string indicating which language to return. The service will return
/// recognition results in specified language. If this parameter is not
/// specified, the default value is "en".<br />
/// Supported languages:
/// <ul>
/// <li><b >en</b> - English, Default.</li>
/// <li><b >zh</b> - Simplified Chinese.</li>
/// </ul>. Possible values include: 'en', 'zh'
/// |
subscriptionKey |
string |
/// subscription key in url
/// |
ocpApimSubscriptionKey |
string |
/// subscription key in header
/// |
cancellationToken |
System |
/// The cancellation token.
/// |
return |
System.Threading.Tasks.Task |
|