RecognizePage(Uri,int,List<IMasterFormsCategory>) Method

Summary

Recognize the unknown page type.

Syntax
C#
VB
C++
  
Public Overloads Function RecognizePage( _ 
   ByVal url As Uri, _ 
   ByVal pageNumber As Integer, _ 
   ByVal categories As List(Of IMasterFormsCategory) _ 
) As AutoFormsRecognizePageResult 
public: 
AutoFormsRecognizePageResult^ RecognizePage(  
   Uri^ url, 
   int pageNumber, 
   List<IMasterFormsCategory^>^ categories 
)  

Parameters

url
A System.Uri containing the name of the unknown form image data.

pageNumber
The unknown page number in the unknown form from url.

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 have the result of the Master Form Page 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

This method compares the unknown page with all Master Forms pages in the repository and returns the Master Form and the number of the page in that Master Form with maximum confidence.

The recognition of the page 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 have the result of the Master Form Page with maximum confidence. If the confidence is less than MinimumConfidenceKnownForm it will return null, i.e. the page type is unknown and cannot be recognized.

This method is useful when you have an unknown page and you want to recognize the Master Form to which the page belongs after which you may process the form and extract the data.

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