Use your own keys for Microsoft Azure Computer Vision OCR engine

You can use your own Microsoft Azure Computer Vision OCR engine subscription or Spell Check keys.

Users can use a combination of their own Microsoft Azure Computer Vision OCR engine keys with the Spell Check keys provided by Automation Anywhere. Using the provided Spell Check keys from Automation Anywhere will send your data to the Automation Anywhere account. If you do not want to send any data to the Automation Anywhere Microsoft Azure account, you would have to provide your own Spell Check service keys, or turn it off by setting the value in the AzureOCREngineSettings.json file to EnableAutoCorrectSegmentText: false.

Follow the steps to use your own keys for Microsoft Azure Computer Vision OCR engine.

Procedure

  1. By default, IQ Bot's encrypted Microsoft Azure Computer Vision OCR engine subscription and Spell Check keys are used. If you prefer to use your own Microsoft Azure Computer Vision OCR engine subscription and, or Spell Check keys, go to C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurationsand folder Configurations > AzureOCREngineSettings.json file, and specify your keys.
    If both SubscriptionKey and SubscriptionClientKey are specified, then SubscriptionClientKey is used:
    • VisionSubscriptionKey
    • VisionSubscriptionClientKey
    • SpellCheckSubscriptionKey
    • SpellCheckSubscriptionClientKey
  2. Enter your keys correctly to ensure proper API calls as follows:
    Before:
    
    {
      "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
    }
    After:
    
    {
      "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. Run the stopanduninstallallservices.bat file as an administrator. The default location of the file is at C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations.
  4. Run the installandstartallservices.bat file as an administrator. The default location of the file is at C:\Program Files (x86)\Automation Anywhere IQ Bot <version>\Configurations .
    Log in or refresh your IQ Bot web page.