RecAPI
|
The document-level processing is supported on: Windows, Linux, Embedded Linux, MacOS.
The document is a page container containing a set of pages HPAGE in User-defined order. The document can be accessed through handles HDOC, which can come from the creation of a new document (RecCreateDoc) or from the opening of an existing one (RecOpenDoc). The integrating application can insert pages into a document (RecInsertPage) or remove them (RecDeletePage). To modify a document, open it with RecOpenDoc. The document always must be closed (RecCloseDoc). The recognition should be run on pages. The aim of the document is only to collect the recognized pages so they are passed to the output conversion as a unit.
The recognition of each HPAGE is performed by kRecRecognize of the page-level processing. Another way to recognize pages is to use one-step processing, but it works at page level and not document level.
The integrating application can also save the document into an OPD file (the format of the application ScanSoft OmniPage 2025) or load a document from such a file.
When the document is ready, the application can export it by RecConvert2Doc. The format of the created output file can be set by RecSetOutputFormat. The Capture SDK provides many format-specific settings and fine-tuning controls that influence the properties of the output document. For more information, see the topic output.