UiPath 使用 OCR 讀取 PDF
UiPath.PDF.Activities.ReadPDFWithOCR
通過使用 OCR 技術(shù)讀取指定 PDF 文件中的所有字符,并存儲在字符串變量中。
屬性
Common
DisplayName?- The display name of the activity.
File
“文件名”****- 要讀取的 PDF 文件的路徑。僅支持字符串和字符串變量。
“密碼”****- PDF 文件的密碼(如有必要)。僅支持字符串和字符串變量。
輸入
“并行度”****- 指定要并行分析的頁面數(shù)量(如有)?!?code class="rdmd-code lang- theme-light">-1”值使用機(jī)器上的最大邏輯處理器數(shù)量,而指定正值也使用該邏輯處理器數(shù)量。默認(rèn)情況下,該屬性設(shè)為“
-1
”。“圖像 DPI”****- 用于 OCR 流程的 DPI。默認(rèn)情況下,該字段設(shè)為“
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.
