UiPath 使用 OCR 读取 PDF
UiPath.PDF.Activities.ReadPDFWithOCR
通过使用 OCR 技术读取指定 PDF 文件中的所有字符,并存储在字符串变量中。
属性
Common
DisplayName - The display name of the activity.
File
“文件名”****- 要读取的 PDF 文件的路径。仅支持字符串和字符串变量。
“密码”****- PDF 文件的密码(如有必要)。仅支持字符串和字符串变量。
输入
“并行度”****- 指定要并行分析的页面数量(如有)。“
-1
”值使用机器上的最大逻辑处理器数量,而指定正值也使用该逻辑处理器数量。默认情况下,该属性设为“-1
”。“图像 DPI”****- 用于 OCR 流程的 DPI。默认情况下,该字段设为“
150
”。Range - The range of pages that you want to read. If the range isn't specified, the whole file is read. You can specify a single page (e.g. "7"), a range of pages (e.g. "7-12"), or a complex range, (e.g. "2-5, 7, 15-End" or "All"). Only string variables and strings are supported. The default value is "All".
Misc
Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
输出
“文本”****- 提取的字符串。该字段仅支持字符串变量。
Example of using the Read PDF With OCR activity
Here you can see how the Read PDF With OCR activity is used in an example that incorporates multiple activities.
