#include <DLStampDetectBatchTest.h>
Public Member Functions | |
DLStampDetectBatchTest (char *name, int argc, char **argv) | |
~DLStampDetectBatchTest (void) | |
int | go () |
void | showHelp () |
Its command line syntax is:
StampDetect [-x] [-e] [-min minArea] [-max maxArea] [-l] filename
-x --- Write detection results into an xml file for each input document. It creates a new xml file if no associated xml file exists. -e --- Remove all previous stamp detection results stored in xml files. New results will be appended to previous results if this argument is not used. -min --- Specify the minimum area of detected stamp in pixel squares. Default value of 50000 is used if this argument is ignored. -max --- Specify the maximum area of detected stamp in pixel squares. Default value of 200000 is used if this argument is ignored. -l --- File containing the list of input images to execute -h --- Show help at command line
DLStampDetectBatchTest::DLStampDetectBatchTest | ( | char * | name, | |
int | argc, | |||
char ** | argv | |||
) |
Default DLStampDetectBatchTest Constructor
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. |
DLStampDetectBatchTest::~DLStampDetectBatchTest | ( | void | ) |
Default DLStampDetectBatchTest Destructor
int DLStampDetectBatchTest::go | ( | ) |
The Main function of DLStampDetectBatchTest. Running stamp detector on a list of document images
void DLStampDetectBatchTest::showHelp | ( | ) |
Show help information for running the stamp detection driver application