How get settingPath parameter for processField Method.. this is xml file path i know.. but how i set this for my xml recognition setting .. plz give a example.. suppose i hold the xml file into c drive,, then how i define this path into processField method or simply write it into processField method using "".. like "c:/myxml.xml" or when i call processField method like-Task task=resultClient.processField(myTaskId,"c:/myxml.xml"), one more thing processingSetting use for all function like processField,submitButton etc except businesscCard??? you say that when submitImage Call that time i get a taskId but submitImage itself need a taskId as a pararmeter then when i call submitImage method then whats my taskId that time???

asked 10 Apr '15, 10:04

AjijulMondal's gravatar image

AjijulMondal
113

edited 10 Apr '15, 10:15


Have you already seen our Android code sample which shows how to use the processFields method?

link

answered 10 Apr '15, 12:34

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.4k16

In your case all the steps are the same as when the processImage method is used: https://github.com/abbyysdk/ocrsdk.com/blob/c83422fd2f0fb0967918c98f8cad9ffaa76be26c/Android/src/abbyy/ocrsdk/android/AsyncProcessTask.java, but instead of line 96

Task task = restClient.processImage(inputFile, processingSettings);

call

Task task = restClient.submitImage(inputFile, null);
task = restClient.processFields(task.Id, settingsPath);

where settingsPath is path to XML file with recognition settings.

Also we recommend you to reveiw our Cloud OCR SDK Documentation where you can find the description of API methods with all possible parameters.

link

answered 10 Apr '15, 16:22

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.4k16

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×100
×51
×7

Asked: 10 Apr '15, 10:04

Seen: 985 times

Last updated: 10 Apr '15, 16:22

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal