Partager via


AIVisionImageAnalysisModelFactory.ReadResult Method

Definition

Initializes a new instance of ReadResult.

public static Azure.AI.Vision.ImageAnalysis.ReadResult ReadResult (System.Collections.Generic.IEnumerable<Azure.AI.Vision.ImageAnalysis.DetectedTextBlock> blocks = default);
static member ReadResult : seq<Azure.AI.Vision.ImageAnalysis.DetectedTextBlock> -> Azure.AI.Vision.ImageAnalysis.ReadResult
Public Shared Function ReadResult (Optional blocks As IEnumerable(Of DetectedTextBlock) = Nothing) As ReadResult

Parameters

blocks
IEnumerable<DetectedTextBlock>

A list of text blocks in the image. At the moment only one block is returned, containing all the text detected in the image.

Returns

A new ReadResult instance for mocking.

Applies to