I am trying to get data for a respective field (say Discount) from a sample tiff image(i.e. Picture_010.tif, which is a part of Picture_samples, provided by ABBYY http://ocrsdk.com/help/picture_samples.zip ).
Its the URL send to the server: http://cloud.ocrsdk.com/processTextField?language=English&textType=normal,handprinted&oneTextLine=true®Exp=Discount
The output shown as, which doesn't have the intended output. I went through all the previous post on this tag, but didn't get much help from that:
I am running the java sample for ProcessTextField as below :
Looking forward for your help to resolve this issue.
"regExp"=Discount is a wrong parameter. Regular expressions is not suitable for this task, you can find the details about regExp here.
You can recognize Discount field using the URL like this:
where left, top, right, bottom are the text coordinates. They are measured in pixels relative to the left top corner.
If you don't want to specify the text coordinates directly, you can get all text with its coordinates (using the processImage method, export to XML). Then you can extract the necessary information on your side, as you know that the numbers you need have almost the same vertical coordinates as the "Discount" word.
answered 19 Apr '14, 19:53
Anastasia Ga... ♦♦