Invoice processing using OCR in android

  • Last Post 09 April 2015
AjijulMondal posted this 09 April 2015

Thank you for reply about invoice processing.. In case of processField method for android, how use this method??? here three parameters 1.taskId- what the meaning of taskID?? how i get it to pass processField method?? 2.Description- what the format of description??? means how i write the description for invoice ?? 3.writeRecognitionVariants- i understand this.. what is settingsPath parameter for processField function, and how i get it???

Oksana Serdyuk posted this 09 April 2015

The processFields method should be used in the following way:

  1. Create an XML-file with recognition settings. For some fields it can be usefully to set the letterSet parameter or regular expressions in the XML-file.
  2. Upload your image using the submitImage method. You will receive the task ID, that will be used in the next step.
  3. Call the processFields method. The XML file with the parameters of processing is transmitted in the request body. The task ID is transmitted as a parameter.

This method is implemented in our .NET, Java and Android samples.