BuildIt.CognitiveServices.ComputerVisionAPIV10Extensions.DescribeImageAsync C# (CSharp) Method

DescribeImageAsync() public static method

This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. All descriptions are in English. <br> <br> Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. <br> <br> A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong. <h4>Http Method</h4> POST
public static DescribeImageAsync ( this operations, string maxCandidates = "1", 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. ///
maxCandidates string /// Maximum number of candidate descriptions to be returned. The default is /// 1. Possible values include: '1' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
return System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task DescribeImageAsync(this IComputerVisionAPIV10 operations, string maxCandidates = "1", string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.DescribeImageWithHttpMessagesAsync(maxCandidates, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }