RecognizeForm(Stream,List<IMasterFormsCategory>) Method

Summary

Recognize the unknown form type.

Syntax
C#
VB
C++
  
Public Overloads Function RecognizeForm( _ 
   ByVal stream As Stream, _ 
   ByVal categories As List(Of IMasterFormsCategory) _ 
) As AutoFormsRecognizeFormResult 
public: 
AutoFormsRecognizeFormResult^ RecognizeForm(  
   Stream^ stream, 
   List<IMasterFormsCategory^>^ categories 
)  

Parameters

stream
A System.IO.Stream containing the unknown form image data.

categories
List of Master Forms categories to use in comparison, pass null or empty to use all Master Forms in the repository.

Return Value

The result of the recognition will be the result of the Master Form with maximum confidence. If the confidence is less than MinimumConfidenceKnownForm it will return null, i.e. the form type is unknown and cannot be recognized.

Remarks

If RecognizeFirstPageOnly is true, the type of the form will be recognized based only on the first page of the form. If it is false the recognition will be done using all form image pages.

The stream should have all form pages if RecognizeFirstPageOnly is set to false.

If all Master Forms have a different first page, then recognizing the form according to its first page will be faster.

The recognition of the form will stop comparing the form with other Master Forms either when the confidence of the recognition result is greater or equal to MinimumConfidenceRecognized or when the Master Forms have all been compared.

The result of the recognition will be the result of the Master Form with maximum confidence. If the confidence is less than MinimumConfidenceKnownForm it will return null, i.e. the form type is unknown and cannot be recognized.

This method is useful when you have unknown forms and you want to recognize the types of these forms to archive, classify, and process.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly