Microsoft Azure Computer Vision OCR engine での独自のキーの使用

独自の Microsoft Azure Computer Vision OCR engine サブスクリプションまたはスペルチェック キーを使用することもできます。

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 フォルダーの 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 Web ページの表示を更新します。