Partager via


FormRecognizerClientExtensions.AnalyzeWithCustomModelAsync Méthode

Définition

Surcharges

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

Analyser le formulaire

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

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

Analyser le formulaire

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)

Paramètres

operations
IFormRecognizerClient

Groupe d’opérations pour cette méthode d’extension.

id
Guid

Identificateur de modèle avec laquelle analyser le document.

formStream
Stream

Un fichier de document ou d’image pdf (jpg,png) à analyser.

keys
IList<String>

Liste facultative des clés connues pour laquelle extraire les valeurs.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Le document à analyser doit être d’un type de contenu pris en charge : « application/pdf », « image/jpeg » ou « image/png ». La réponse contient non seulement les informations extraites du formulaire analysé, mais également des informations sur le contenu qui n’a pas été extrait avec une raison.

S’applique à

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)

Paramètres

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

Retours

S’applique à