FormSuite v6.0 - Updated
Results Generation
Overview > Concepts > Forms API > Implementing a Forms Processing Application > Results Generation

The Forms API returns result classes that are primarily defined by the API itself, however result objects that are returned by processing engines are contained within the hierarchy of result objects returned. Results that are returned are specific to:

The figure below shows the overall hierarchy of results.

Result classes in the Forms API

 

Form Results

Results that are specific to form level processing are contained in a FormResult object. This includes the aligned and identification image, and a cancellation flag. The FormResult class also has properties to hold objects that contain form timing results, identification results, and field results.

Identification Results

Results that are specific to identification processing are contained in an IdentificationResult object (Accusoft.Forms.IdentificationResult). Do not confuse this class with the Accusoft.FormFixSdk.IdentificationResult class; however, it does contain similar information.

The IdentificationResult class contains the following information:

The state is a very important value, it indicates if the Processor was able to continue processing the input form image after identification. Only a state of IdentificationState.MatchFound would indicate that processing could continue. Otherwise, with a value of IdentificationState.MultipleMatchesFound or IdentificationState.NoMatchesFound, the matching FormDefinition and affine transformation will not be available in the IdentificationResult and no field level results will be produced by the Processor.

The AllFormsComparisons collection is only filled if the Processor’s OutputAllFormComparisons property is true. If this property is set to its default value of false, then the AllFormComparisons collection will be empty.

The AlternateMatches collection will always be filled with up to the 10 most similar forms in the form set; this will occur even if one best matching form was found, and the one matching form will be first in the table. The AlternateMatches collection may contain less than 10 items, if there are less than 10 forms in the form set considered to be matching by the IdentificationProcessor.

Field Results

Results specific to field level processing are produced for each field on the form. These results are contained within the FieldResults collection of the FormResult class.

The FieldResult class holds the following values:

Although this image is always created by the processor, it will only be contained in the FieldResult objects if the Processor.OutputIntermediateFieldImages is true.

Timing Results

The Processor has built in timers for its various operations, and it also tracks aggregate operation times. Two timing result objects are contained within the results hierarchy, FormTimingResult and FieldTimingResult.

Form Timing Results

Field Timing Results

The FieldTimingResult class holds values specific to field level processing. The values it holds include:

 

Is this page helpful?
Yes No
Thanks for your feedback.