Hello,

I have applied ProcessImage in my application C# with sucess , but just for one Photo (Prenom.jpg), and this is my code :

string language = "Arabic";

        ProcessingSettings settings = new ProcessingSettings();

        settings.SetLanguage(language);

        settings.SetOutputFormat(OutputFormat.txt);

String sourceFilePath = @"C:\CINPROCESSING\Prenom.jpg";

        OcrSdkTask task = restClient.ProcessImage(sourceFilePath, settings);

        String outputFileBase = @"C:\CINPROCESSING\Prenom.txt";

        task = waitForTask(task, restClient);

        restClient.DownloadResult(task, outputFileBase);

I want to apply ProcessImage to multiple photos at same time : Prenom.jpg , Nom.jpg, Date.jpg

How i fix that?

Thanks,

asked 11 Jul '16, 11:00

thabet%20idris's gravatar image

thabet idris
174

edited 11 Jul '16, 11:01


You can use the processDocument method for that. This method allows you to process several images using the same settings and obtain recognition result as a multi-page document, i.e. the output will be one single file with many pages.

At first, you should upload several images to one task using submitImage method and receive the corresponding task ID. Then you should call the processDocument method where the task ID is transmitted as a parameter.

This method is implemented in our C# code sample.

link

answered 11 Jul '16, 15:03

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.5k16

Thanks , it works

link

answered 11 Jul '16, 16:10

thabet%20idris's gravatar image

thabet idris
174

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:

×42
×36
×8

Asked: 11 Jul '16, 11:00

Seen: 328 times

Last updated: 11 Jul '16, 16:10

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