FormRecognizerClientExtensions.AnalyzeWithCustomModelAsync Método

Definição

Sobrecargas

AnalyzeWithCustomModelAsync(IFormRecognizerClient, Guid, Stream, IList<String>, CancellationToken)

Analisar Formulário

AnalyzeWithCustomModelAsync(IFormRecognizerClient, Guid, Stream, String, IList<String>, CancellationToken)

AnalyzeWithCustomModelAsync(IFormRecognizerClient, Guid, Stream, IList<String>, CancellationToken)

Analisar Formulário

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult> AnalyzeWithCustomModelAsync (this Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient operations, Guid id, System.IO.Stream formStream, System.Collections.Generic.IList<string> keys = default, System.Threading.CancellationToken cancellationToken = default);
static member AnalyzeWithCustomModelAsync : Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient * Guid * System.IO.Stream * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>
<Extension()>
Public Function AnalyzeWithCustomModelAsync (operations As IFormRecognizerClient, id As Guid, formStream As Stream, Optional keys As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AnalyzeResult)

Parâmetros

operations
IFormRecognizerClient

O grupo de operações para esse método de extensão.

id
Guid

Identificador de modelo com o qual analisar o documento.

formStream
Stream

Um documento pdf ou um arquivo de imagem (jpg,png) a ser analisado.

keys
IList<String>

Uma lista opcional de chaves conhecidas para a qual extrair os valores.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

O documento a ser analisado deve ser de um tipo de conteúdo com suporte - 'application/pdf', 'image/jpeg' ou 'image/png'. A resposta contém não apenas as informações extraídas do formulário analisado, mas também informações sobre o conteúdo que não foi extraído junto com um motivo.

Aplica-se a

AnalyzeWithCustomModelAsync(IFormRecognizerClient, Guid, Stream, String, IList<String>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult> AnalyzeWithCustomModelAsync (this Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient operations, Guid id, System.IO.Stream formStream, string contentType, System.Collections.Generic.IList<string> keys = default, System.Threading.CancellationToken cancellationToken = default);
static member AnalyzeWithCustomModelAsync : Microsoft.Azure.CognitiveServices.FormRecognizer.IFormRecognizerClient * Guid * System.IO.Stream * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>
<Extension()>
Public Function AnalyzeWithCustomModelAsync (operations As IFormRecognizerClient, id As Guid, formStream As Stream, contentType As String, Optional keys As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AnalyzeResult)

Parâmetros

id
Guid
formStream
Stream
contentType
String
keys
IList<String>
cancellationToken
CancellationToken

Retornos

Aplica-se a