Click or drag to resize
IImageRecognitionServiceGetImageDescriptionAsync Method
Returns a description of the provided image.

Namespace: CMS.ComputerVision.Azure.Internal
Assembly: CMS.ComputerVision.Azure (in CMS.ComputerVision.Azure.dll) Version: 13.0.131
Syntax
C#
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: TaskString
Description of the image or null when none of the descriptions match the minimum confidence or if the image recognition feature is not configured correctly.
See Also