[GoogleCloudVisionOCR] .Net assembly to use ocr functions

[GoogleCloudVisionOCR] .Net assembly to use ocr functions

  
Forge Component
(5)
Published on 2016-10-19 by Aurelio Junior
5 votes
Published on 2016-10-19 by Aurelio Junior

Hello

I have tested your tools online and it satisfies my needed. I will explain my scenario.
I have a lot of images (pictures) and they contains some texts i need to extract and save it on a database..

Your tools is exactly what i need, because it extract the real text that recognize and associate the info to these images..

Is there an externall .dll file that may i use in my development environment (i can use Windev 22 or Visual Studio 2017).

In case you want to reply me by e-mail : gmspano@<remove>tiscali.it

Thanks in advance
Gianni

Hi Gianni,

You can download the extension, open it in Integration Studio and then select "Edit Source Code" to open the project in Visual Studio. From there, you can use the whole project as it is or extract only the code that interests you.

Hello Aurelio

I have installed Integration Studio and downloaded the GooglecloudVisionOCR.oap file.
How to load the .oap file?? Is this the extension file?

Please, let me know how to proceed because i'm new user with Integration Studio and i only need to extract the function that allow me to read texts from images as your program does.

Please, can you help me?
Thanks in advance

Gianni

p.s In case you want to send me some stuff, use my email : gmspano at tiscali dot it.

I don't think Google Cloud Vision OCR component have .NET assembly in it.

Google Cloud Vision OCR is accessible using REST API, and I think that component use REST API instead of .NET assembly.


Google "Cloud" by definition is not something that done in client side (.NET assembly), instead it is done in cloud (aka Google server).

You need to pay for such service, and all works is done in Google owned server.


There is no .NET assembly that can make Google Cloud Vision OCR works on your own server.

Hi Gianni,

Sorry, I assumed you were already familiar with OutSystems.

You can open the .oap file with any file compactor (I use 7zip). Inside it, there's a file called GoogleCloudVisionOCR.xif, which is the actual extension file that you need. Extract it and open it in Integration Studio. If you get a prompt to connect to an OutSystems environment, just discard it. Then click on the button highlighted bellow:

You'll probably get a message asking you to define Integration Studio options. Select Yes and, in the ".NET" tab, fill in the path to Visual Studio in your machine (the devenv.exe executable). You should now be able to open the project in Visual Studio.

Let me know if you need any further help.

@Harlin: you're partially right. Google Cloud Vision is indeed a REST API. However, the extension I built uses Google's .NET assembly which allows you to easily call the API from .NET applications. Also, the extension itself is a .NET assembly. So you have two .NET assemblies between your OutSystems application and Google's REST API.

Hello Aurelio

Thank your for your reply.

I have been able to load the project and see the source code.
it is a bit too hard to me!! i'm not a c# developer despite i can "read" the statements.

As i told you i need to load a lot of postal cards with images in front and some informations about the location of the pictures on its back. These stuff come from a customer. I'm developing an application to use on an Android tabled and create a sort of catalog.
These informations must be loaded and saved in a database.
I did a little test using your online tool and it seem to satisfy my needed.
Please, is it possible to create a library to include in my Windev environment (i can use .net assemblies) and pass to it two parameters: pathname of the picture and a array of string that contains the information read from the back of the postal card?? (like, city, location, code..a max of 10 elements) or a txt file autocreate using the same image name?
Or if it is possible to create an executable always passing the pathname and create a txt file using the same image's name with a ".txt" extension with the information as above.

Thanks in advance.

Gianni

Gurus!!!!

I have a question: May I use this for get data from PDF file? If answer is yes, how? ; else : any recommendation?

Best Regards 

Hi Edgardo,

Not in its current state. I think Google's Cloud Vision does have functionality to read text from pdf files, but I'd have to incorporate the functionality into the extension, and finding time to work on this has been very difficult :).