OCR implementation by Google Cloud Vision API

Use this Forum to post tips and techniques for using aXes. Please explain in detail. This Forum is managed by the aXes user community. LANSA cannot guarantee the accuracy of any information posted to this Forum.

Moderator: jeanmichel

Post Reply
Fairdinkum
Posts: 119
Joined: 24 Jul 2017, 17:02

OCR implementation by Google Cloud Vision API

Post by Fairdinkum » 08 Apr 2021, 18:18

Hi,

I would like to share the idea implementing OCR feature into aXes customized screens.
As you can see from the video below, HTTP request is sent from aXes screen to the api, and retrive the result into a field.
https://drive.google.com/file/d/1A4CLWf ... sp=sharing

Pros:
- No need uploading the image file. The image data is transmitted with base64 encoding. So it's much easier than other similar services.
- High accuracy and quick response time.

Cons:
- Have to prepare an available billing account.
e.g. Text detection is free for first 1,000 units every month. Even if you are planning to use the api within the free amount of units, the billing account is required.

Attached contains a test project. You have to generate an api key on Google Cloud console page and then set it as follows.
Image 582.png
Image 582.png (116.05 KiB) Viewed 18243 times

Regards,
Hide
Attachments
visionapitestx.zip
(1.06 MiB) Downloaded 1867 times

Post Reply