Leadtools.Forms.Recognition Getting Started

Summary

LEADTOOLS Forms (Leadtools.Forms.Recognition assembly)

For pointers to sample programs that demonstrate many features, see the table below:

.NET
.NET Framework
Java/Android

.NET

Redistributables Paths

Path Target Platform
<installdir>\Bin\net .NET 6+
Assembly - Class/Namespace Comments
Leadtools.Forms.Common.DLL - Leadtools.Forms.Common Provides classes and methods for implementing/manipulating Forms Recognition and Processing support.
Leadtools.Ocr.DLL - Leadtools.Ocr Provides classes and methods for implementing/manipulating LEADTOOLS Optical Character Recognition support.
Leadtools.Forms.Processing.DLL - Leadtools.Forms.Processing Provides classes and methods for implementing/manipulating Forms processing support.
Leadtools.Forms.Recognition.DLL - Leadtools.Forms.Recognition Provides classes and methods for implementing/manipulating Forms recognition support.
Leadtools.Forms.Recognition.Barcode.DLL - Leadtools.Forms.Recognition.Barcode Provides classes and methods for implementing/manipulating Forms Barcode Recognition support.
Leadtools.Forms.Recognition.Ocr.DLL - Leadtools.Forms.Recognition.Ocr Provides classes and methods for implementing/manipulating Forms Optical Character Recognition support.

Dependencies

Library Description Dependencies
Leadtools.Forms.Recognition.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF

Sample Programs

Demo Name Source Code Path Description
Cloud Services Azure \Examples\Forms\DotNet\AutoMasterFormsRepository\net

This project is provided as an example of how to implement the following three interfaces: IMasterFormsRepository, IMasterFormsCategory, and IMasterForm.
This demo is not intended to be a running one. These three interfaces are used with Leadtools.Forms.Auto.AutoFormsEngine class to store master forms and categorize them.
The code provided in this project is the default implementation for the three mentioned interfaces that is shipped with LEADTOOLS SDK for Forms
This project may help a user to build his own implementation of these interfaces that fits his application, for example, database repository.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Bank Check Reader \Examples\Forms\DotNet\BankCheckReaderDemo\net \Bin\net\BankCheckReaderDemo_Original.exe

Demonstrates using Forms Recognition and Processing to recognize bank checks.

Detect the location of and recognize the data in fields from bank check images, including:

  • MICR data
  • Payee information
  • Check date
  • Amount
  • Signature area
  • Payee information
Demo Name Source Code Path Pre-Compiled Executable Path Description
Business Card Reader \Examples\Forms\DotNet\BusinessCardReaderDemo\net \Bin\net\BusinessCardReaderDemo_Original.exe

Demonstrates business card recognition features.

Extracts organization name, first and last name, title, address, e-mail, website, fax number, and phone number from images of business cards.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Forms Recognition \Examples\Forms\DotNet\FormsDemo\net \Bin\net\FormsDemo_Original.exe

Demonstrates how to perform Forms Recognition and Processing.

Allows users to recognize and process filled forms located on the hard disk, as well as those acquired from a TWAIN scanner.

Compares the master form template that has been passed in and matches it to a filled form while recognizing and extracting the data.

Demo Name Source Code Path Pre-Compiled Executable Path Description
ID Reader \Examples\Forms\DotNet\IDReaderDemo\net \Bin\net\IDReaderDemo_Original.exe

Demonstrates ID recognition features.

Extracts first and last name, address, birth date, issued date, expiration date and license number from images of IDs.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Low Level Forms Recognition \Examples\Forms\DotNet\LowLevelFormsDemo\net \Bin\net\LowLevelFormsDemo_Original.exe

Demonstrates creating and editing master forms sets.

Can be used for building and maintaining your library of master forms and provides many options, including creating/editing OCR, ICR, OMR, Barcode, and Image Fields for extraction.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Master Forms Editor \Examples\Forms\DotNet\MasterFormsEditor\net \Bin\net\MasterFormsEditor_Original.exe

Demonstrates creating and editing master forms sets for Forms Recognition and Processing.

  • Build and maintain a library of master forms
  • Options including creating/editing OCR/ICR, OMR, Barcode, and Image Fields for extraction
Demo Name Source Code Path Pre-Compiled Executable Path Description
MRTD Passport Reader \Examples\Forms\DotNet\MrtdPassportReaderDemo\net \Bin\net\MrtdPassportReaderDemo_Original.exe

Demonstrates using Forms Recognition and Processing to recognize MRTD zones in passports.

Recognize and extract passport features and fields.

Demo Name Source Code Path Description
OCR \Examples\OCR\DotNet\OCRCLIDemo\net

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Auto Recognize \Examples\OCR\DotNet\OcrAutoRecognizeDemo\net \Bin\net\OcrAutoRecognizeDemo_Original.exe

Demonstrates the high-level LEADTOOLS OCR Auto Recognize support.

  • Performs high-level OCRing from an input image file to a final document, such as PDF or DOCX.
  • Convert the document in one shot.
  • Various events and a logging mechanism can be used to modify and track the recognition operation.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR \Examples\OCR\DotNet\OcrDemo\net \Bin\net\OcrDemo_Original.exe

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Edit \Examples\OCR\DotNet\OcrEditDemo\net \Bin\net\OcrEditDemo_Original.exe

Demonstrates OCR words/characters update support for all supported OCR engines.

  • Update words or characters in the recognized page before saving them to the desired document format.
  • Delete words from the recognized page before saving them to the desired document format.
  • Highlight recognized words.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Modules \Examples\OCR\DotNet\OcrModulesDemo\net \Bin\net\OcrModulesDemo_Original.exe

Demonstrates using the MICR, ICR, and OMR recognition modules.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Multi-Threading \Examples\OCR\DotNet\OcrMultithreadingDemo\net \Bin\net\OcrMultiThreadingDemo_Original.exe

Demonstrates using LEADTOOLS OCR in a multi-threaded application.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Screen Capture \Examples\OCR\DotNet\OcrScreenCaptureDemo\net \Bin\net\OcrScreenCaptureDemo_Original.exe

Demonstrates combining LEADTOOLS Screen Capture, OCR, Document Writers, and Image Viewer Control into one application.

  • Capture selected area, window or full-screen
  • Convert to RTF using LEADTOOLS OCR engine and Document Writers
  • Display the image using the LEADTOOLS Image Viewer control
  • Copy RTF and image data to the clipboard
  • Draw on the image using a pen or brush
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Settings \Examples\OCR\DotNet\OcrSettingsDemo\net \Bin\net\OcrSettingsDemo_Original.exe

Demonstrates programmatically controlling the various LEADTOOLS OCR engine settings.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR TWAIN Scanning \Examples\OCR\DotNet\OcrTwainScanningDemo\net \Bin\net\OcrTwainScanningDemo_Original.exe

Demonstrates combining OCR and TWAIN scanning into one demo.

  • Acquire images from a TWAIN device
  • Perform OCR on the scanned image
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Zones RubberBand \Examples\OCR\DotNet\OcrZonesRubberBandDemo\net \Bin\net\OcrZonesRubberBandDemo_Original.exe

Demonstrates zonal OCR based on a user-defined rectangle.

  • Load an image from a file
  • Draw a user-defined zone using the LEADTOOLS viewer control's rubber-band feature
  • Perform zonal OCR based on the user-defined zone
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OMR Processing \Examples\OCR\DotNet\OmrProcessingDemo\net \Bin\net\OmrProcessingDemo_Original.exe

Demonstrates functionality that intelligently analyzes the bubbles to automatically determine question groups and multiple-choice answer sets so that users can rapidly define master forms.

Load an image from a file.

Draw a user-defined zone to select multiple bubble sheets.

Compare filled in form data to master form template.

.NET Framework

Redistributables Paths

Path Target Platform
<installdir>\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Bin\DotNet4\x64 x64 .NET 4 or 4.5
Assembly - Class/Namespace Comments
Leadtools.Forms.Common.DLL - Leadtools.Forms.Common Provides classes and methods for implementing/manipulating Forms Recognition and Processing support.
Leadtools.Ocr.DLL - Leadtools.Ocr Provides classes and methods for implementing/manipulating LEADTOOLS Optical Character Recognition support.
Leadtools.Forms.Processing.DLL - Leadtools.Forms.Processing Provides classes and methods for implementing/manipulating Forms processing support.
Leadtools.Forms.Recognition.DLL - Leadtools.Forms.Recognition Provides classes and methods for implementing/manipulating Forms recognition support.
Leadtools.Forms.Recognition.Barcode.DLL - Leadtools.Forms.Recognition.Barcode Provides classes and methods for implementing/manipulating Forms Barcode Recognition support.
Leadtools.Forms.Recognition.Ocr.DLL - Leadtools.Forms.Recognition.Ocr Provides classes and methods for implementing/manipulating Forms Optical Character Recognition support.

Dependencies

Library Description Dependencies
Leadtools.Forms.Recognition.dll Core Library Leadtools.dll
NuGet PackageDescription
Leadtools.Document.Sdk Document Imaging Library
Leadtools.Document.Viewer.WinForms Document Imaging Library for WinForms
Leadtools.Document.Viewer.Wpf Document Imaging Library for WPF

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Cloud Services Azure \Examples\Forms\DotNet\AutoMasterFormsRepository\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\AutoMasterFormsRepository.exe

This project is provided as an example of how to implement the following three interfaces: IMasterFormsRepository, IMasterFormsCategory, and IMasterForm.
This demo is not intended to be a running one. These three interfaces are used with Leadtools.Forms.Auto.AutoFormsEngine class to store master forms and categorize them.
The code provided in this project is the default implementation for the three mentioned interfaces that is shipped with LEADTOOLS SDK for Forms
This project may help a user to build his own implementation of these interfaces that fits his application, for example, database repository.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Bank Check Reader \Examples\Forms\DotNet\BankCheckReaderDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\BankCheckReaderDemo.exe

Demonstrates using Forms Recognition and Processing to recognize bank checks.

Detect the location of and recognize the data in fields from bank check images, including:

  • MICR data
  • Payee information
  • Check date
  • Amount
  • Signature area
  • Payee information
Demo Name Source Code Path Pre-Compiled Executable Path Description
Business Card Reader \Examples\Forms\DotNet\BusinessCardReaderDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\BusinessCardReaderDemo.exe

Demonstrates business card recognition features.

Extracts organization name, first and last name, title, address, e-mail, website, fax number, and phone number from images of business cards.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Forms Recognition \Examples\Forms\DotNet\FormsDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\FormsDemo.exe

Demonstrates how to perform Forms Recognition and Processing.

Allows users to recognize and process filled forms located on the hard disk, as well as those acquired from a TWAIN scanner.

Compares the master form template that has been passed in and matches it to a filled form while recognizing and extracting the data.

Demo Name Source Code Path Pre-Compiled Executable Path Description
ID Reader \Examples\Forms\DotNet\IDReaderDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\IDReaderDemo.exe

Demonstrates ID recognition features.

Extracts first and last name, address, birth date, issued date, expiration date and license number from images of IDs.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Low Level Forms Recognition \Examples\Forms\DotNet\LowLevelFormsDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\LowLevelFormsDemo.exe

Demonstrates creating and editing master forms sets.

Can be used for building and maintaining your library of master forms and provides many options, including creating/editing OCR, ICR, OMR, Barcode, and Image Fields for extraction.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Master Forms Editor \Examples\Forms\DotNet\MasterFormsEditor\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\MasterFormsEditor.exe

Demonstrates creating and editing master forms sets for Forms Recognition and Processing.

  • Build and maintain a library of master forms
  • Options including creating/editing OCR/ICR, OMR, Barcode, and Image Fields for extraction
Demo Name Source Code Path Pre-Compiled Executable Path Description
MRTD Passport Reader \Examples\Forms\DotNet\MrtdPassportReaderDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\MrtdPassportReaderDemo.exe

Demonstrates using Forms Recognition and Processing to recognize MRTD zones in passports.

Recognize and extract passport features and fields.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Auto Recognize \Examples\OCR\DotNet\OcrAutoRecognizeDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrAutoRecognizeDemo.exe

Demonstrates the high-level LEADTOOLS OCR Auto Recognize support.

  • Performs high-level OCRing from an input image file to a final document, such as PDF or DOCX.
  • Convert the document in one shot.
  • Various events and a logging mechanism can be used to modify and track the recognition operation.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR \Examples\OCR\DotNet\OcrDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrDemo.exe

Demonstrates OCR support.

  • Convert raster images to document files
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Automatically detect, segment, and recognize multiple languages on the same document
  • Full page analysis and zonal recognition
  • Automatic document cleanup and pre-processing
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Edit \Examples\OCR\DotNet\OcrEditDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrEditDemo.exe

Demonstrates OCR words/characters update support for all supported OCR engines.

  • Update words or characters in the recognized page before saving them to the desired document format.
  • Delete words from the recognized page before saving them to the desired document format.
  • Highlight recognized words.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Modules \Examples\OCR\DotNet\OcrModulesDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrModulesDemo.exe

Demonstrates using the MICR, ICR, and OMR recognition modules.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Multi-Threading \Examples\OCR\DotNet\OcrMultithreadingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrMultiThreadingDemo.exe

Demonstrates using LEADTOOLS OCR in a multi-threaded application.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Screen Capture \Examples\OCR\DotNet\OcrScreenCaptureDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrScreenCaptureDemo.exe

Demonstrates combining LEADTOOLS Screen Capture, OCR, Document Writers, and Image Viewer Control into one application.

  • Capture selected area, window or full-screen
  • Convert to RTF using LEADTOOLS OCR engine and Document Writers
  • Display the image using the LEADTOOLS Image Viewer control
  • Copy RTF and image data to the clipboard
  • Draw on the image using a pen or brush
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Settings \Examples\OCR\DotNet\OcrSettingsDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrSettingsDemo.exe

Demonstrates programmatically controlling the various LEADTOOLS OCR engine settings.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR TWAIN Scanning \Examples\OCR\DotNet\OcrTwainScanningDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrTwainScanningDemo.exe

Demonstrates combining OCR and TWAIN scanning into one demo.

  • Acquire images from a TWAIN device
  • Perform OCR on the scanned image
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Zones RubberBand \Examples\OCR\DotNet\OcrZonesRubberBandDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrZonesRubberBandDemo.exe

Demonstrates zonal OCR based on a user-defined rectangle.

  • Load an image from a file
  • Draw a user-defined zone using the LEADTOOLS viewer control's rubber-band feature
  • Perform zonal OCR based on the user-defined zone
  • Save the recognition results
Demo Name Source Code Path Pre-Compiled Executable Path Description
OMR Processing \Examples\OCR\DotNet\OmrProcessingDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OmrProcessingDemo.exe

Demonstrates functionality that intelligently analyzes the bubbles to automatically determine question groups and multiple-choice answer sets so that users can rapidly define master forms.

Load an image from a file.

Draw a user-defined zone to select multiple bubble sheets.

Compare filled in form data to master form template.

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR SharePoint \Examples\OCR\DotNet\OcrSharePointDemo\fx \Bin\DotNet4\<Win32/Win32/x64/x64>\OcrSharePointDemo.exe

Demonstrates SharePoint Client functionality.

OCR an image and store the recognition results in a SharePoint repository.

Java/Android

Redistributables Paths

Path Target Platform
<installdir>\Bin\Android\x86_64 (Android) x86_64 Android
<installdir>\Bin\Android\x86 (Android) x86 Android
<installdir>\Bin\Android\arm64-v8a (Android) arm64-v8a Android
<installdir>\Bin\Android\armeabi-v7a (Android) armeabi-v7a Android
<installdir>\Bin\CDLL\Win32 (Windows) x86 Windows
<installdir>\Bin\CDLL\x64 (Windows) x64 Windows
<installdir>\Bin\Lib\x86 (Linux) x86 Linux
<installdir>\Bin\Lib\x64 (Linux) x64 Linux

Dependencies

Library Description Jars Native Libraries
leadtools.forms.recognition.jar Core Library leadtools.jar Android:
libleadtools.so
Linux:
libltkrn.so
Windows:
Ltkrnu.dll (Win32) / Ltkrnx.dll (x64)

Sample Programs

Demo Name Source Code Path Description
Passport (Android) \Examples\Forms\Android\PassportDemo

Demonstrates passport imaging recognition.

Recognize and extract passport features and fields regardless of image resolution, scale, and other characteristics.

Demo Name Source Code Path Description
MICR (Android) \Examples\OCR\Android\MicrDemo

Demonstrates using the MICR Code Reader to scan MICR Codes from images

Demo Name Source Code Path Description
OCR (Android) \Examples\OCR\Android\OcrDemo

Demonstrates OCR support.

Shows how to use the LEADTOOLS OCR SDK to scan and extract text from image documents

Demo Name Source Code Path Description
OCR (Java) \Examples\OCR\Java\OcrDemo

Demonstrates OCR support.

  • Performs OCR on an input image.
  • Output the results to any of the supported document file formats, including PDF.
  • Specify the language for OCR detection.
Demo Name Source Code Path Description
OCR UI (Java) \Examples\OCR\Java\OcrUiDemo

Demonstrates OCR support in a desktop application.

  • Convert raster images to document files.
  • Recognize text from over 40 languages
  • Spell checking and dictionary support
  • Full page analysis and Zonal recognition
  • Automatic document cleanup and pre-processing

See Also

Assemblies Overview

Leadtools.Forms.Common

Leadtools.Forms.Processing

Leadtools.Forms.Processing.Omr

Leadtools.Forms.Recognition

Leadtools.Forms.Recognition.Barcode

Leadtools.Forms.Recognition.Ocr

Reference

Getting Started - Leadtools.Forms.Processing

Getting Started - Leadtools.Forms.Processing.Omr

Introduction - Leadtools.Forms.Recognition

Introduction - LEADTOOLS Recognition

Introduction to LEADTOOLS for .NET

Getting Started - Leadtools.Forms.Processing

Getting Started - Leadtools.Forms.Processing.Omr

Getting Started with LEADTOOLS Forms

Getting Started with LEADTOOLS for .NET

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.