#include <DLSignatureDetect.h>
Public Types | |
enum | PARAMETERSET { DL_ENGLISH_PRINT = 1, DL_ARABIC_HANDWRITING = 2 } |
Parameter sets used for signature detection. More... | |
Public Member Functions | |
DLSignatureDetect (const char *fname, PARAMETERSET parameterSet=DL_ENGLISH_PRINT, double resizeRatio=2.0, bool useContext=true) | |
DLSignatureDetect (const DLImage &srcImage, const char *fname, PARAMETERSET parameterSet=DL_ENGLISH_PRINT, double resizeRatio=2.0, bool useContext=true) | |
~DLSignatureDetect () | |
list < DLSignatureCandidate > | dlGetDetectedSignatures () |
bool | dlGotSignatures () |
Classes | |
struct | DLSignatureDetectParameters |
struct for storing the language and dataset dependent parameters for signature detection |
The idea of this signature detection approach is to capture the structural saliency of a signature by measuring its dynamic curvature without recovering the tempo information. Once the most salient part of the signature is identified, contour grouping is performed to obtain a complete and segmented signature. As tested in large real world datasets, this approach is robust under large intra-class variations that typically exhibited on unconstrained handwritting, and it is very effective across language differences.
DLSignatureDetect::DLSignatureDetect | ( | const char * | fname, | |
PARAMETERSET | parameterSet = DL_ENGLISH_PRINT , |
|||
double | resizeRatio = 2.0 , |
|||
bool | useContext = true | |||
) |
Default DLSignatureDetect Constructor. Initialize signature detector using the input image file
fname | file name of the source image | |
parameterSet | trained parameter sets used for signature detection. Refer to enumerator DLSIGNATUREDETECT_PARAMETERS for the list of currently supported set | |
resizeRatio | double the base factor for computing the initial coarest image scale | |
useContext | bool type argument specifying whether to use document context for signature detection |
DLSignatureDetect::DLSignatureDetect | ( | const DLImage & | srcImage, | |
const char * | fname, | |||
PARAMETERSET | parameterSet = DL_ENGLISH_PRINT , |
|||
double | resizeRatio = 2.0 , |
|||
bool | useContext = true | |||
) |
DLSignatureDetect Constructor. Initialize signature detector using an DLImage
srcImage | DLImage of the source image | |
fname | file name of the source image | |
parameterSet | trained parameter sets used for signature detection. Refer to enumerator DLSIGNATUREDETECT_PARAMETERS for the list of currently supported set | |
resizeRatio | double the base factor for computing the initial coarest image scale | |
useContext | bool type argument specifying whether to use document context for signature detection |
DLSignatureDetect::~DLSignatureDetect | ( | ) |
DLSignatureDetect Destructor
list<DLSignatureCandidate> DLSignatureDetect::dlGetDetectedSignatures | ( | ) | [inline] |
Return the list of detected signatures
bool DLSignatureDetect::dlGotSignatures | ( | ) | [inline] |
Check whether any signature is detected on the document page