activities
latest
false
- 概述
- 文档处理合同
- 发行说明
- 关于文档处理合同
- Box 类
- IPersistedActivity 接口
- PrettyBoxConverter 类
- IClassifierActivity 接口
- IClassifierCapabilitiesProvider 接口
- 分类器文档类型类
- 分类器结果类
- 分类器代码活动类
- 分类器原生活动类
- 分类器异步代码活动类
- 分类器文档类型功能类
- ContentValidationData Class
- EvaluatedBusinessRulesForFieldValue Class
- EvaluatedBusinessRuleDetails Class
- 提取程序异步代码活动类
- 提取程序代码活动类
- 提取程序文档类型类
- 提取程序文档类型功能类
- 提取程序字段功能类
- 提取程序原生活动类
- 提取程序结果类
- FieldValue Class
- FieldValueResult Class
- ICapabilitiesProvider 接口
- IExtractorActivity 接口
- 提取程序有效负载类
- 文档操作优先级枚举
- 文档操作数据类
- 文档操作状态枚举
- 文档操作类型枚举
- 文档分类操作数据类
- 文档验证操作数据类
- 用户数据类
- 文档类
- 文档拆分结果类
- DomExtensions 类
- 页类
- 页面分区类
- 多边形类
- 多边形转换器类
- 元数据类
- 词组类
- 词类
- 处理源枚举
- 结果表格单元类
- 结果表值类
- 结果表列信息类
- 结果表类
- 旋转枚举
- Rule Class
- RuleResult Class
- RuleSet Class
- RuleSetResult Class
- 分区类型枚举
- 词组类型枚举
- IDocumentTextProjection 接口
- 分类结果类
- 提取结果类
- 结果文档类
- 结果文档范围类
- 结果数据点类
- 结果值类
- 结果内容引用类
- 结果值令牌类
- 结果派生字段类
- 结果数据源枚举
- 结果常量类
- 简单字段值类
- 表字段值类
- 文档组类
- 文档分类类
- 文档类型类
- 字段类
- 字段类型枚举
- FieldValueDetails Class
- 语言信息类
- 元数据输入类
- 文本类型枚举
- 类型字段类
- ITrackingActivity 接口
- ITrainableActivity 接口
- ITrainableClassifierActivity 接口
- ITrainableExtractorActivity 接口
- 可训练的分类器异步代码活动类
- 可训练的分类器代码活动类
- 可训练的分类器原生活动类
- 可训练的提取程序异步代码活动类
- 可训练的提取程序代码活动类
- 可训练的提取程序原生活动类
- 基本数据点类 - 预览
- 提取结果处理程序类 - 预览
- Document Understanding ML
- Document Understanding OCR 本地服务器
- Document Understanding
- 智能 OCR
- 发行说明
- 关于“智能 OCR”活动包
- 项目兼容性
- 加载分类
- 将文档数字化
- 分类文档作用域
- 基于关键词的分类器
- Document Understanding 项目分类器
- 智能关键词分类器
- 创建文档分类操作
- 创建文档验证工件
- 检索文档验证工件
- 等待文档分类操作然后继续
- 训练分类器范围
- 基于关键词的分类训练器
- 智能关键词分类训练器
- 数据提取作用域
- Document Understanding 项目提取程序
- Document Understanding 项目提取程序训练器
- 基于正则表达式的提取程序
- 表单提取程序
- 智能表单提取程序
- 文档脱敏
- 创建文档验证操作
- 等待文档验证操作然后继续
- 训练提取程序范围
- 导出提取结果
- 机器学习提取程序
- 机器学习提取程序训练器
- 机器学习分类器
- 机器学习分类训练器
- 生成分类器
- 生成式提取程序
- 配置身份验证
- ML 服务
- OCR
- OCR 合同
- OmniPage
- PDF
- [未公开] Abbyy
- [未列出] Abbyy 嵌入式
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
Document Understanding 活动
下面的示例说明了如何从图像中手动提取数据,并将输出呈现在单独的文件中。它提供了诸如“数字化文档”或“显示验证站点”之类的活动。您可以在UiPath.IntelligentOCR.Activities包中找到这些活动。
备注:
This workflow is using an older version of the UiPath.IntelligentOCR.Activities package.
Steps:
-
打开 Studio,并新建一个默认命名为“主要”的“流程”。
备注:Make sure to add all the needed files (
.jsonfiles and all the images) inside the project folder. -
在“工作流设计器”中添加一个“序列”容器并创建下表中显示的变量:
表格 1. 要创建的变量
变量类型 默认值 Text字符串 DOMUiPath.DocumentProcessing.Contracts.Dom.Document DataUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy DocumentTaxonomyUiPath.DocumentProcessing.Contracts.Taxonomy.DocumentTaxonomy TaxonomyJSON字符串 HumanValidatedUiPath.DocumentProcessing.Contracts.Results.ExtractionResult -
在序列中添加“读取文本文件”活动。
- In the Properties panel, add the name of the file, in this case
"taxonomy.json", in the FileName field. - Add the variable
TaxonomyJSONin the Content field.
- In the Properties panel, add the name of the file, in this case
-
将“分配”活动拖动至“读取文本文件”活动后面。
- Add the variable
Datain the To field and the expressionDocumentTaxonomy.Deserialize(TaxonomyJSON)in the Value field. This activity builds the taxonomy for extraction.
- Add the variable
-
在“分配”活动之后添加“数字化文档”活动。
- In the Properties panel, add the value
1in the DegreeOfParallelism field. - Add the expression
"Input\Invoice01.tif"in the DocumentPath field. - Add the variable
DOMin the DocumentObjectModel field. - Add the variable
Textin the DocumentText field.
- In the Properties panel, add the value
-
在“数字化文档”活动中添加Google OCR引擎。
- 在“属性”面板中,向“图像”字段添加“
Image”变量。 - Select the check box for the ExtractWords option. This option extracts the on-screen position of all detected words.
- Add the expression
"eng"in the Language field. - Select the option
Legacyfrom the Profile drop-down list. - 在“缩放比例”字段中添加值“
2”。
- 在“属性”面板中,向“图像”字段添加“
-
在“数字化文档”活动之后添加“显示验证站点”活动。
- In the Properties panel, add the variable
DOMin the DocumentObjectModel field. - Add the expression
"Input\Invoice01.tif"in the DocumentPath field. - Add the variable
Textin the DocumentText field. - Add the variable
Datain the Taxonomy field. - Add the variable
HumanValidatedin the ValidatedExtractionResults field.
- In the Properties panel, add the variable
-
在“显示验证站点”活动下方添加“遍历循环”活动。
- In the Properties panel, select the option
UiPath.DocumentProcessing.Contracts.Results.ResultsDataPointfrom the TypeArgument drop-down list. - Add the expression
HumanValidated.ResultsDocument.Fieldsin the Values field.
- In the Properties panel, select the option
-
Add a Log Message activity inside the Body of the For Each activity.
- Select the option
Infofrom the Level drop-down list. - 在“行”字段中添加表达式“
item.FieldName”。
- Select the option
-
将“日志消息”活动拖动到第一个“日志消息”活动下方。
- 在“级别”下拉列表中选择
Info选项。 - 在“行”字段中添加表达式“
item.Values(0).Value.ToString”。
- 在“级别”下拉列表中选择
-
在“日志消息”活动下添加“写入行”活动。
- 在“文本”字段中添加“
""”值。
- 在“文本”字段中添加“
-
运行流程。 机器人使用智能 OCR 活动手动处理数据并显示结果。
请访问以下链接,将该示例下载为ZIP文件:示例。