UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Document Understanding 活动

上次更新日期 2026年4月22日

UiPath 屏幕 OCR

UiPath.OCR.Activities.UiPathScreenOCR

描述

Extracts a string and associated information about the textual content of images. The UiPath Screen OCR activity is optimized for usage on screen images. The activity can be used in any UI Automation scenario in which an OCR engine is needed.

备注:

UiPath Screen OCR is available as a cloud service as well as part of the on-premises Linux Computer Vision.

支持的字符列表

The UiPath Screen OCR activity only supports the following list of characters:

! \ " # ¥ £ $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ \ ] _ a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~

项目兼容性

Windows - Legacy | Windows

配置

属性面板

常见

  • “显示名称”- 活动的显示名称。

输入

  • “图像”- 要处理的图像。该字段仅支持“Image”变量。

登录

  • ApiKey - The API key used to provide you access to the UiPath Screen OCR (not required for the Preview period).
  • Endpoint - The endpoint for UiPath Screen OCR. The default project settings value is https://ocr.uipath.com.
  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for a response from the server before an error is thrown. The default value is 100000 milliseconds (100 seconds).

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • UseLocalServer - Determines if a local server should be used. This field only supports Boolean values (True, False). The default value is False.
    重要提示:

    To use local server mode, you need to install the UiPath.ComputerVision.LocalServer package version 21.6 or higher.

  • UseSeparateOcrProcess - If set to true, new OCR processes are created depending on the configured scheduler. The parameter is ignoored if local server is used and the processes will be used.

输出

  • Result - Provides the extracted words along with their on-screen position. This field supports only KeyValuePair<Rectangle,String> variables.
  • Text - Provides the extracted text. This field supports only String variables.
  • 描述
  • 支持的字符列表
  • 项目兼容性
  • 配置

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新