←Select platform

ObjectsManagers Property

Summary
Gets a list of object managers that are used to extract the features of the form for this FormRecognitionEngine.

Syntax
C#
C++/CLI
Java
Python
public IList<RecognitionObjectsManager> ObjectsManagers { get; } 
public java.util.List<RecognitionObjectsManager> getObjectsManagers(); 
public: 
property IList<RecognitionObjectsManager^>^ ObjectsManagers { 
   IList<RecognitionObjectsManager^>^ get(); 
} 
ObjectsManagers # get  (FormRecognitionEngine) 

Property Value

List of object managers that are used to extract the features of the form.

Example

This example how to add ObjectManagers

C#
using Leadtools; 
using Leadtools.Barcode; 
using Leadtools.Codecs; 
using Leadtools.Forms.Common; 
using Leadtools.Ocr; 
using Leadtools.Forms.Processing; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Recognition.Barcode; 
using Leadtools.Forms.Recognition.Ocr; 
 
///This method sets the object managers. 
public void SetObjectManagers(FormRecognitionEngine recognitionEngine, 
                              IOcrEngine formsOcrEngine, 
                              BarcodeEngine formsBarcodeEngine, 
                              bool enableDefault, 
                              bool enableOcr, 
                              bool enableBarcode) 
{ 
   if (recognitionEngine == null) 
      return; 
   if (enableDefault) 
   { 
      DefaultObjectsManager defaultObjectManager = new DefaultObjectsManager(); 
      recognitionEngine.ObjectsManagers.Add(defaultObjectManager); 
   } 
 
   if (enableOcr) 
   { 
      OcrObjectsManager ocrObjectManager = new OcrObjectsManager(formsOcrEngine); 
      recognitionEngine.ObjectsManagers.Add(ocrObjectManager); 
   } 
 
   if (enableBarcode) 
   { 
      BarcodeObjectsManager barcodeObjectManager = new BarcodeObjectsManager(formsBarcodeEngine); 
      recognitionEngine.ObjectsManagers.Add(barcodeObjectManager); 
   } 
} 
Requirements

Target Platforms

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

Leadtools.Forms.Recognition Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.