Community

How to call processFields with submitImage?

Hi, 
I've downloaded the sample code, but I'm a bit confused on how to use submitImage to start a new processFields task

An example would be great, thanks. 

0

Comments

1 comment

  • Avatar
    Oksana Serdyuk

    The steps you should take to implement the processFields scenario are the following:

    1. Obtain the image(s) that you want to process.
    2. Call the submitImage method and transmit the image(s) in the request body.
    3. Obtain the XML file with parameters for field recognition. Article XML Parameters of Field Recognition describes the format of the XML file that you should provide to the processFields method.
    4. Call processFields and transmit the XML file in the request body. This step is implemented in the sample project in Method processFields() of the Client class (see source file “Client.java” located in the src\com\abbyy\ocrsdk subdirectory of the Android code sample folder).
    0
    Comment actions Permalink

Please sign in to leave a comment.