Hello, I use a custom ImageSource using reference images (not images in memory). Then I add a lot of documents to my imagesource and pass it to the processor using SetCustomImageSource method. Next i read all documents with RecognizeNextDocument.

How can I have a reference on witch of my document has been processed? Maybe the file name? Or is possibile to have returned che ID then the document is added? I whant to save some exported data in database but i have to know witch is the document the data comes from.

Thanks

asked 27 May '16, 02:05

angusto's gravatar image

angusto
14


Hello!

Could you please specify which assembling mode you use? Do you create a separate document for each image file or do you put all available images in one single document?

If you create a separate document for each image file, you can get the name of each processed document via the Title property of the Document object which you get as a result of RecognizeNextDocument method.

link

answered 27 May '16, 14:54

Anna%20Falevskaya's gravatar image

Anna Falevskaya ♦♦
715

Hello, I have a separate document for each file, a file may contain multiple images. The Title property of the Document object has always "Document 1", "Document 2," etc and not the originale filename.

Angelo

link

answered 27 May '16, 17:40

angusto's gravatar image

angusto
14

Dear Angelo,

The image source name (original filename) can be obtained for each page (Page Object) of the recognized document (Document Object) by using the Source property of the SourceImageInfo object (Page→SourceImageInfo→Source). This property returns the image source name. If the image was loaded from file, this is the full path to the file. If the hot folder was used, this property returns the name of the hot folder. If you are using a custom image source, this property will return its name.

link

answered 30 May '16, 10:47

Anna%20Falevskaya's gravatar image

Anna Falevskaya ♦♦
715

Hello, thank you, I'll try all this options.

Thanks Angelo

link

answered 07 Jun '16, 17:12

angusto's gravatar image

angusto
14

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:

×6
×1

Asked: 27 May '16, 02:05

Seen: 438 times

Last updated: 07 Jun '16, 17:12

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