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
Comments
3 comments
To specify several recognition regions, it's necessary to use the processFields method.
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
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
Please sign in to leave a comment.