您可以使用自己的 Microsoft Azure Computer Vision OCR 引擎 订阅或拼写检查密钥。

用户可以使用自己的 Microsoft Azure Computer Vision OCR 引擎 密钥和 Automation Anywhere 提供的拼写检查密钥组合。 使用 Automation Anywhere 提供的拼写检查密钥会将您的数据发送到 Automation Anywhere 账户。 如果您不希望将任何数据发送至 Automation Anywhere Microsoft Azure 账户,则必须自行提供拼写检查服务密钥,或者通过将 AzureOCREngineSettings.json 文件中的值设置为 EnableAutoCorrectSegmentText: false 来将其关闭。

按照步骤对于 Microsoft Azure Computer Vision OCR 引擎 使用您自己的密钥。

过程

  1. 默认情况下,使用 IQ Bot 的加密 Microsoft Azure Computer Vision OCR 引擎 订阅和拼写检查密钥。 如果您更喜欢使用自己的 Microsoft Azure Computer Vision OCR 引擎 订阅和拼写检查密钥,请前往 C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations 和文件夹 Configurations > AzureOCREngineSettings.json 文件,并指定您的密钥。
    如果同时指定了 SubscriptionKeySubscriptionClientKey,则使用 SubscriptionClientKey
    • VisionSubscriptionKey
    • VisionSubscriptionClientKey
    • SpellCheckSubscriptionKey
    • SpellCheckSubscriptionClientKey
  2. 请正确输入您的密钥,以确保正确的 API 调用,如下所示:
    之前:
    { "VisionServiceUrl": "https://aai-iq-bot-ocr.cognitiveservices.azure.com/", "EngineType": 0, "VisionSubscriptionKey": "", "VisionSubscriptionClientKey": "", "SpellCheckSubscriptionKey": "", "SpellCheckSubscriptionClientKey": "", "EnableDebugging": false, "DebuggingFolder": "C:\\Users\\Public\\Documents\\Automation Anywhere IQBot Platform\\Output\\Engine\\Azure", "HttpTimeoutInSec": 300, "EnableReprocessLowConfidentSegment": true, "EnableAutoCorrectSegmentText": true, "EnableResolveOverlappedSegment": true, "EnableFieldMerging": true, "EnableFieldRegions": true }
    之后:
    { "VisionServiceUrl": "https://aai-iq-bot-ocr.cognitiveservices.azure.com/", "EngineType": 0, "VisionSubscriptionKey": "", "VisionSubscriptionClientKey": "191234d5e7abc1f382123459d4399e33", "SpellCheckSubscriptionKey": "", "SpellCheckSubscriptionClientKey": "336f8f6a503a4c30ba123456834d4abc", "EnableDebugging": false, "DebuggingFolder": "C:\\Users\\Public\\Documents\\Automation Anywhere IQBot Platform\\Output\\Engine\\Azure", "HttpTimeoutInSec": 300, "EnableReprocessLowConfidentSegment": true, "EnableAutoCorrectSegmentText": true, "EnableResolveOverlappedSegment": true, "EnableFieldMerging": true, "EnableFieldRegions": true }
  3. 以管理员身份运行 stopanduninstallallservices.bat 文件。 文件的默认位置为 C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations
  4. 以管理员身份运行 installandstartallservices.bat 文件。 文件的默认位置为 C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations
    登录或刷新您的 IQ Bot 网页。