public IList<RecognitionObjectsManager> ObjectsManagers { get; } Public ReadOnly Property ObjectsManagers As IList(Of RecognitionObjectsManager)
public java.util.List<RecognitionObjectsManager> getObjectsManagers(); public:property IList<RecognitionObjectsManager^>^ ObjectsManagers {IList<RecognitionObjectsManager^>^ get();}
List of object managers that are used to extract the features of the form.
For a complete example of using form recognition and processing, refer to the FormRecognitionEngine example.
This example how to add ObjectManagers
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);}}
Imports LeadtoolsImports Leadtools.BarcodeImports Leadtools.CodecsImports Leadtools.Forms.CommonImports Leadtools.OcrImports Leadtools.Forms.ProcessingImports Leadtools.Forms.RecognitionImports Leadtools.Forms.Recognition.BarcodeImports Leadtools.Forms.Recognition.Ocr'''This method sets the object managers.Public Sub SetObjectManagers(recognitionEngine As FormRecognitionEngine, formsOcrEngine As IOcrEngine, formsBarcodeEngine As BarcodeEngine, enableDefault As Boolean, enableOcr As Boolean, enableBarcode As Boolean)If recognitionEngine Is Nothing ThenReturnEnd IfIf enableDefault ThenDim defaultObjectManager As New DefaultObjectsManager()recognitionEngine.ObjectsManagers.Add(defaultObjectManager)End IfIf enableOcr ThenDim ocrObjectManager As New OcrObjectsManager(formsOcrEngine)recognitionEngine.ObjectsManagers.Add(ocrObjectManager)End IfIf enableBarcode ThenDim barcodeObjectManager As New BarcodeObjectsManager(formsBarcodeEngine)recognitionEngine.ObjectsManagers.Add(barcodeObjectManager)End IfEnd Sub
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
