Vision OCR EXtraction

Sachin_Kharmale

Active Member
Hi Ravikant,

You can use Blue prism code stage to Extract lines data in one data item and write that data item text to Output text Files.
If you are getting response in the form of json.
So, Refer how we can desalinize the json object with the vb.net or c#.net.

OR

If you are getting the output in the collection then you can also retrieve all data with the help of c# or Vb.net code.
for traversing collection refer topic data tables in vb.net and c#.net.

I hope it will help you.!


 

Sachin_Kharmale

Active Member
Hi Ravikant ,

Follow the bellow steps,

1. Main Flow
View attachment 1575978887721.png

2.Input Collections -


View attachment 1575978923414.png

View attachment 1575978945429.png

View attachment 1575978960562.png

3. Loop OCR Response Collection
View attachment 1575979003519.png
4. Extract Lines Collection

View attachment 1575979090788.png

5. Now Loop Lines Collection then Extract Words Collection

View attachment 1575980509758.png

6.Now Loop Words Collection and use calculation stage to get data in output data item and append it
View attachment 1575980581461.png
7. Then you will get all data in output data item now you are ready to write data item to file and complete your task
View attachment 1575980652682.png


I hope it will help you..!
 

Sachin_Kharmale

Active Member
Hi Ravikumar,

I think you have registered google service vision with your personal account i.e- xyz@gmail.com

Google API does not work as expected with your personal account @gmail.com. You should have organization domain account in Google in format you@your_organisation_domain

I hope it will help you..!
 
Hi Ravikant ,

Follow the bellow steps,

1. Main Flow
View attachment 4935

2.Input Collections -

View attachment 4936

View attachment 4937

View attachment 4938

3. Loop OCR Response Collection
View attachment 4939
4. Extract Lines Collection

View attachment 4940

5. Now Loop Lines Collection then Extract Words Collection

View attachment 4942

6.Now Loop Words Collection and use calculation stage to get data in output data item and append it
View attachment 4943
7. Then you will get all data in output data item now you are ready to write data item to file and complete your task
View attachment 4944


I hope it will help you..!

Hi Suchin i have tried this but for me it's not working
 

Sachin_Kharmale

Active Member
First Loop Handwriting Response Collection

Then Extract words collection using calc stage [Handwriting Response.words] then store results in words collection
Now Loop words collection after calc stage
Inside loop words collection you will get words one by one using calc stage

[words.text] and store it in output data item and append output data item so you will get all words within collection in one data item
 
Top