I am using the sample Node module to call the ABBYY Cloud API. Every thing works fine with the demo code on github when I call processImage.
I added a function processTextField according to the already provided method processImage.
I set the region query string to "?region=115,40,100,40" for an image that is about 400x200 pixel and I get "Invalid image region specified" with code 450 as response.
The call succeeds with "?region=-1,-1,-1,-1".
What could be the reason for this?
I am a bit puzzled. Thanks for any help!
According to the processTextField method description, the coordinates of the region are measured in pixels relative to the left top corner of the image and are specified in the following order: left, top, right, bottom.
answered 20 Feb '14, 18:41
Anastasia Ga... ♦♦