Ejemplo n.º 1
0
 /// <summary>
 /// Detect objects in an image url and saves the result.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='projectId'>
 /// The project id.
 /// </param>
 /// <param name='publishedName'>
 /// Specifies the name of the model to evaluate against.
 /// </param>
 /// <param name='imageUrl'>
 /// An ImageUrl that contains the url of the image to be evaluated.
 /// </param>
 /// <param name='application'>
 /// Optional. Specifies the name of application using the endpoint.
 /// </param>
 public static ImagePrediction DetectImageUrl(this ICustomVisionPredictionClient operations, System.Guid projectId, string publishedName, ImageUrl imageUrl, string application = default(string))
 {
     return(operations.DetectImageUrlAsync(projectId, publishedName, imageUrl, application).GetAwaiter().GetResult());
 }