masterAttributes
The Master Form attribute object.
formAttributes
The Form attribute object.
formCallback
Status about the progress of the comparison at the form level (i.e. page by page). Set it to null to ignore the progress.
pageCallback
Provides status on the progress of the comparison at the page level. Set it to null to ignore the progress.
Form must have number of pages larger than or equal Master Form pages number. If they do not, the result will be zero and the reason will be FormRecognitionReason.InvalidNumberOfPages. This function should be used To Compare Form with Master forms that have invoice (TableFormField).
In order to recognize a Form, the Form attribute object must be compared with all of the Master Form attribute objects that have incoive (TableFormField),representing different types of form templates. The Form's type is that Master Form attribute object that generated the highest confidence value. If the highest confidence value is very low that means the Form is not one the types of the Master Forms (i.e. the type of this Form is not defined in the Master Form set)
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example compares a Master Form with a Form.