使用您自己的密钥 Microsoft Azure Computer Vision OCR engine

您可以使用自己的Microsoft Azure Computer Vision OCR engine订阅或拼写检查键。

用户可以使用自己的组合Microsoft Azure Computer Vision OCR engine键和 提供的拼写检查键Automation Anywhere。使用 提供的拼写检查键Automation Anywhere,会将您的数据发送到Automation Anywhere帐户。如果您不想向Automation AnywhereMicrosoft Azure帐户发送任何数据,则必须提供您自己的拼写检查服务密钥,或者通过将 Settings.txt 文件中的值设置为 EnableAutoCorrectSegmentText: false 将其关闭。

按照步骤使用您自己的 按键Microsoft Azure Computer Vision OCR engine

过程

  1. 默认情况下,使用 IQ Bot的加密Microsoft Azure Computer Vision OCR engine订阅和拼写检查键。如果您希望使用自己的Microsoft Azure Computer Vision OCR engine订阅和/或拼写检查键,请转到 C:\\Program Files (x86)\\Automation Anywhere IQ Bot <version>\\Configurations and folder Configurations > AzureOCREngineSettings.json 文件,并指定您的密钥。
    如果同时指定了 SubscriptionKey SubscriptionClientKey,则使用 SubscriptionClientKey:
    • 视觉订阅键
    • VisionSubscriptionClientKey(Vision订阅客户端密钥
    • 拼写检查订阅键
    • 拼写检查订阅客户端密钥
  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网页。