Share via


OCR Constructors

Definition

Overloads

OCR()

Initializes a new instance of the OCR class.

OCR(Status, IList<KeyValuePair>, String, String, String, String, IList<Candidate>)

Initializes a new instance of the OCR class.

OCR()

Initializes a new instance of the OCR class.

public OCR ();
Public Sub New ()

Applies to

OCR(Status, IList<KeyValuePair>, String, String, String, String, IList<Candidate>)

Initializes a new instance of the OCR class.

public OCR (Microsoft.Azure.CognitiveServices.ContentModerator.Models.Status status = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> metadata = default, string trackingId = default, string cacheId = default, string language = default, string text = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Candidate> candidates = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.OCR : Microsoft.Azure.CognitiveServices.ContentModerator.Models.Status * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.Candidate> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.OCR
Public Sub New (Optional status As Status = Nothing, Optional metadata As IList(Of KeyValuePair) = Nothing, Optional trackingId As String = Nothing, Optional cacheId As String = Nothing, Optional language As String = Nothing, Optional text As String = Nothing, Optional candidates As IList(Of Candidate) = Nothing)

Parameters

status
Status

The evaluate status

metadata
IList<KeyValuePair>

Array of KeyValue.

trackingId
String

The tracking id.

cacheId
String

The cache id.

language
String

The ISO 639-3 code.

text
String

The found text.

candidates
IList<Candidate>

The list of candidate text.

Applies to