Use Google Vision API OCR engine
- Updated: 2021/09/21
Use Google Vision API OCR engine
Use the Google Vision API OCR engine with IQ Bot to improve the accuracy of the optical character recognition (OCR) results for training documents in Asian languages, particularly in Japanese and Korean. Google Vision API OCR engine in IQ Bot supports all languages supported by the engine.
Prerequisites
Verify that the default port 443 is available to enable communication for the API endpoint using TCP.
- It is a cloud OCR engine.
- Google Vision API does not support documents with more than one language. Before using this feature, ensure you want to primarily extract Japanese or Korean text only.
- Languages that are written right to left, rather than
left to right, are not supported within IQ Bot for document
extraction. For example, Arabic, Aramaic, Azeri, Divehi, Fula, Hebrew,
Kurdish, N'ko, Persian, Rohingya, Syriac, and Urdu.
Prior to this release, the engine primarily supported data extraction for Japanese and Korean text only.
- Data is not stored in Google Cloud and is removed immediately.
For additional information on privacy for data retention see: Google Data Usage
IQ Bot provides you with the license to use the Google Vision API OCR engine. You can also use your own license key.
Use your own license keys for Google Vision API OCR engine
Options | Description |
---|---|
Option 1: Set Google Vision API as your default engine | Configure the Settings.txt file. Restriction: Configuring the
settings.txt file is not applicable
to Automation 360 IQ Bot
Cloud
|
Option 2: Select Google Vision API engine directly from the UI when creating a learning instance | Select an OCR engine |
Procedure
To set Google Vision API as your default OCR engine, configure the Settings.txt file as follows:
- API URL: https://vision.googleapis.com/
- Auth URL: https://accounts.google.com/o/oauth2/auth
- Token URL: https://oauth2.googleapis.com/token
- Auth Provider URL: https://www.googleapis.com/oauth2/v1/certs
- Client Auth URL: https://www.googleapis.com/robot/v1/metadata/x509
Next steps
- Create a new learning instance with the Asian language document you want to train.
- Train the document and set your learning instance to production.
- Upload Asian language files and run the bot.
- Download and view the accuracy of the extraction results.