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

FormRecognizerClient.StartRecognizeReceiptsFromUri 方法

定义

识别一个或多个收据中的值。

有关 收据 上可用字段的列表,请参阅收据字段。

public virtual Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation StartRecognizeReceiptsFromUri (Uri receiptUri, Azure.AI.FormRecognizer.RecognizeReceiptsOptions recognizeReceiptsOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRecognizeReceiptsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation
override this.StartRecognizeReceiptsFromUri : Uri * Azure.AI.FormRecognizer.RecognizeReceiptsOptions * System.Threading.CancellationToken -> Azure.AI.FormRecognizer.Models.RecognizeReceiptsOperation
Public Overridable Function StartRecognizeReceiptsFromUri (receiptUri As Uri, Optional recognizeReceiptsOptions As RecognizeReceiptsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As RecognizeReceiptsOperation

参数

receiptUri
Uri

要从中识别值的远程文件的绝对 URI。

recognizeReceiptsOptions
RecognizeReceiptsOptions

一组可用于配置识别请求的选项。 例如,指定窗体的内容类型、窗体的区域设置,或者指定是否包含表单元素。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

等待 RecognizeReceiptsOperation 此长时间运行的操作的 。 成功完成后,其 Value 将包含提取的收据。

适用于