ImageRecognitionServiceGetImageDescriptionAsync Method |
Returns a description of the provided image.
Namespace: CMS.ComputerVision.Azure.InternalAssembly: CMS.ComputerVision.Azure (in CMS.ComputerVision.Azure.dll) Version: 13.0.131
Syntax public Task<string> GetImageDescriptionAsync(
Stream stream,
CancellationToken cancellationToken = null
)
Parameters
- stream
- Type: System.IOStream
Image file stream. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type:
TaskStringDescription of the image or
null when none of the descriptions match the minimum confidence or if the image recognition feature is not configured correctly.
Implements
IImageRecognitionServiceGetImageDescriptionAsync(Stream, CancellationToken)See Also