コード例 #1
0
 /// <summary>
 /// Detect objects in an image without saving 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='imageData'>
 /// Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports
 /// images up to 4MB.
 /// </param>
 /// <param name='application'>
 /// Optional. Specifies the name of application using the endpoint.
 /// </param>
 public static ImagePrediction DetectImageWithNoStore(this ICustomVisionPredictionClient operations, System.Guid projectId, string publishedName, Stream imageData, string application = default(string))
 {
     return(operations.DetectImageWithNoStoreAsync(projectId, publishedName, imageData, application).GetAwaiter().GetResult());
 }