IFormRecognizerClient.AnalyzeWithCustomModelWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Analyser le formulaire
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>> AnalyzeWithCustomModelWithHttpMessagesAsync (Guid id, System.IO.Stream formStream, System.Collections.Generic.IList<string> keys = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AnalyzeWithCustomModelWithHttpMessagesAsync : Guid * System.IO.Stream * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.FormRecognizer.Models.AnalyzeResult>>
Public Function AnalyzeWithCustomModelWithHttpMessagesAsync (id As Guid, formStream As Stream, Optional keys As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of AnalyzeResult))
Paramètres
- id
- Guid
Identificateur de modèle avec laquelle analyser le document.
- formStream
- Stream
Fichier de document ou d’image pdf (jpg,png) à analyser.
- customHeaders
- Dictionary<String,List<String>>
En-têtes qui seront ajoutés à la demande.
- 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 à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour