CreateNew

Sets a value to determine if new signature records for signatures that do not match are to be added as reference signatures.

Member of namespace

SignatureValidation

Syntax

bool CreateNew (string createNewSignatureReference , string newReferenceSignatureFileName) 

Parameters

createNewSignatureReference
True or False value indicating whether to add a signature that was not matched to the folder containing all the signature reference files. When set to true, it is expected that a signature that was not matched the first time, will be matched the second time it is processed. Smart parameters are supported.
newReferenceSignatureFileName
String value representing the name to use for the new signature file created when createNewSignatureReference is set to True.

Level

Page and field.

Returns

True, always.

Details

Sets a value to determine if new signature records for signatures that do not match are to be added as reference signatures.

For a typical application, it is recommended to have 5 to 10 references for a single signature. A person's signature can vary over time. It can also vary from day to day based on a number of factors such as mood, writing instrument, hand position, incline of the surface, etc. While the engine attempts account for these kind of differences, providing multiple examples of a reference signature helps to improve the accuracy of recognition.

SetSignatureReferenceFolderPath("@X.referenceFolderPath","*+@X.accountId+*")
CreateNew("True", "@X.accountId")
SetMinimumConfidence("70")
ValidateSignature(False) 
This example:
  • sets the signature references directory folder path by using the SetSignatureReferenceFolderPath action, and compares only against the reference files with names that contain the value of a previously captured accountId DCO variable.
  • instructs the signature matching algorithm to create a new reference file if the signature is not matched, and to name it using the value of a previously captured accountId DCO variable.
  • sets the minimum confidence to 70 so that matching signatures with a confidence less than 70 are ignored.
  • runs the signature detection/validation.