DLDocIDBatchTest Class Reference

DLDocIDBatchTest is a command line application that runs the three-class classification that identifies document, image with text and non-document image on a list of input images specified by the user. Note: Prior to running the command line executable, please make sure that the trained model file is included inthe same directory. More...

#include <DLDocIDBatchTest.h>

List of all members.

Public Member Functions

 DLDocIDBatchTest (char *name, int argc, char **argv)
 ~DLDocIDBatchTest (void)
int go ()
void showHelp ()


Detailed Description

DLDocIDBatchTest is a command line application that runs the three-class classification that identifies document, image with text and non-document image on a list of input images specified by the user. Note: Prior to running the command line executable, please make sure that the trained model file is included inthe same directory.

Its command line syntax is:

DocID [-x] [-l] filename

The list of command line arguments are as follows:
-x --- Write classification results into an xml file for each input image.
It creates a new xml file if no associated xml file exists
-l --- File containing the list of input images to execute
-h --- Show help at command line


Constructor & Destructor Documentation

DLDocIDBatchTest::DLDocIDBatchTest ( char *  name,
int  argc,
char **  argv 
)

Default DLDocIDBatchTest Constructor

Parameters:
argc An integer that contains the count of arguments that follow in argv. The argc parameter is always greater than or equal to 1.
argv An array of null-terminated strings representing command-line arguments entered by the user of the program. By convention, argv[0] is the command with which the program is invoked, argv[1] is the first command-line argument, and so on, until argv[argc], which is always NULL.
name A string given to the test.

DLDocIDBatchTest::~DLDocIDBatchTest ( void   ) 

Default DLDocIDBatchTest Destructor


Member Function Documentation

int DLDocIDBatchTest::go (  ) 

The Main function of DLDocIDBatchTest. Running the image content recognition driver application on a list of document images

void DLDocIDBatchTest::showHelp (  ) 

Show help information for running the image content recognition driver application


The documentation for this class was generated from the following files:

DocIDDOCLIB Library is an add-on of DOCLIB. DOCLIB is being developed under contract by a collaboration between:
The Laboratory for Language and Media Processing
Unviersity of Maryland, College Park
and
Booz | Allen | Hamilton

All Rights Reserved, 2003-2007