Partager via


DocumentAnalysisModelFactory.DocumentBarcode Méthode

Définition

Initialise une nouvelle instance de DocumentBarcode.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcode DocumentBarcode (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcodeKind kind = default, string value = default, System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> boundingPolygon = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan span = default, float confidence = 0);
static member DocumentBarcode : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcodeKind * string * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan * single -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcode
Public Shared Function DocumentBarcode (Optional kind As DocumentBarcodeKind = Nothing, Optional value As String = Nothing, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentBarcode

Paramètres

kind
DocumentBarcodeKind

Type de code-barres.

value
String

Valeur du code-barres.

boundingPolygon
IReadOnlyList<PointF>

Polygone englobant du code-barres.

span
DocumentSpan

Emplacement du code-barres dans le contenu concaténé de l’ordre de lecture.

confidence
Single

Confiance de l’extraction correcte du code-barres.

Retours

Une nouvelle DocumentBarcode instance de moqueries.

S’applique à