ZipOcrResults

Creates a .zip file to store recognition results for every page of the document.

Member of namespace

FileIO

Syntax

Bool ZipOcrResults () 

Parameters

None

Returns

True if the .zip file is created successfully, otherwise False.

Level

Document level.

Details

This action creates a ZIP file for the associated document. The Zip file name is based on the ID of the document object in the DocumentID.ocr.zip format. This zip file contains all the files with recognition results from every page of the document.
Example

If an action is called on a document with an ID 20160914.000000.01, which contains two pages, then a .zip file that is named as 20160914.000000.01.ocr.zip gets created. This .zip file contains files that store recognition results that are associated with each page. For example, -

tm000001.xml

tm000001_layout.xml

tm000001c.xml


tm000002.xml

tm000002_layout.xml

tm000002c.xml