Hey! I'm working with ABBYY cloud OCR, when my purpose is to scan 3 specific places in each document that I'm scanning. These 3 places will always be the same so I want to use the ProcessFields function do it ,but having some problems with it. When I want to scan only one specific place I use this : string url1 = String.Format("http://cloud.ocrsdk.com/processFields?region=0,0,200,200&language=english");

When trying to scan several places I've used this Uri : string url1 = String.Format("http://cloud.ocrsdk.com/processFields?region=0,0,200,200 region 100,100,100,100&language=english");

but sadly it didn't work.

I'm working with c# and developing for windows-phone-8. I looked at the sample code, trying to add more Uris, but I noticed that every URI is a task.. and can't seem to understand how to do it.

please advise Thanks a lot Ella

asked 14 Mar '14, 20:40

Ella%20Vishnevsky's gravatar image

Ella Vishnevsky

edited 14 Mar '14, 23:00

To specify several recognition regions, it's necessary to use the processFields method.


answered 15 Mar '14, 16:55

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦

Hey Anastasia, You can see in my thread that I DO use Process Field method : string url1 = String.Format("http://cloud.ocrsdk.com/processFields?region=0,0,200,200 region 100,100,100,100&language=english");

But I can't seem to understand how to use it with several locations. Thanks

(15 Mar '14, 19:55) Ella Vishnevsky

You can create an XML-file with recognition parameters (it is described here: http://ocrsdk.com/documentation/specifications/xml-scheme-field-settings/) and transmit it in the request body.

It is also mentioned in the processFields method description: http://ocrsdk.com/documentation/apireference/processFields/?utm_source=stackoverflow.com&utm_medium=comment&utm_campaign=SMM

The sample code for .NET and Java could be helpful: https://github.com/abbyysdk/ocrsdk.com/search?q=processFields&ref=cmdform

(17 Mar '14, 16:34) Anastasia Ga... ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Mar '14, 20:40

Seen: 1,426 times

Last updated: 17 Mar '14, 16:34

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal