你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OCR 构造函数

定义

重载

OCR()

初始化 OCR 类的新实例。

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

初始化 OCR 类的新实例。

OCR()

初始化 OCR 类的新实例。

public OCR ();
Public Sub New ()

适用于

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

初始化 OCR 类的新实例。

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)

参数

status
Status

评估状态

metadata
IList<KeyValuePair>

KeyValue 的数组。

trackingId
String

跟踪 ID。

cacheId
String

缓存 ID。

language
String

ISO 639-3 代码。

text
String

找到的文本。

candidates
IList<Candidate>

候选文本的列表。

适用于