Leadtools.Ocr Getting Started

Summary

.NET
.NET Core
Java/Android
JavaScript
iOS and macOS
Linux
Xamarin

.NET

Redistributables Paths

Path Target Platform
<installdir>\Redist\DotNet4\Win32 x86 .NET 4 or 4.5
<installdir>\Redist\DotNet4\x64 x64 .NET 4 or 4.5

Dependencies

Library Description Dependencies
Leadtools.Ocr.dll OCR forms library

Leadtools.dll

Leadtools.Document.Writer.dll

Leadtools.Forms.Common.dll

Leadtools.Codecs.dll

NuGet PackageDescription
Leadtools.Ocr OCR Library

Sample Programs

Name Path Description
OCR Auto Recognize Demo \Examples\OCR\DotNet\OcrAutoRecognizeDemo

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.
OCR Demo \Examples\OCR\DotNet\OcrDemo

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
OCR Edit Demo \Examples\OCR\DotNet\OcrEditDemo

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.
OCR Modules Demo \Examples\OCR\DotNet\OcrModulesDemo

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

OCR Multi-Engine Demo \Examples\OCR\DotNet\OcrMultiEngineDemo

Demonstrates OCR support for all supported engines.

  • Choose the LEADTOOLS OCR engine during application startup
  • 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
OCR Multi-Threading Demo \Examples\OCR\DotNet\OcrMultithreadingDemo

Demonstrates using LEADTOOLS OCR in a multi-threaded application.

OCR Screen Capture Demo \Examples\OCR\DotNet\OcrScreenCaptureDemo

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
OCR Settings Demo \Examples\OCR\DotNet\OcrSettingsDemo

Demonstrates programmatically controlling the various LEADTOOLS OCR engine settings.

OCR TWAIN Scanning Demo \Examples\OCR\DotNet\OcrTwainScanningDemo

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
OCR Zones RubberBand Demo \Examples\OCR\DotNet\OcrZonesRubberBandDemo

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
OMR Processing Demo \Examples\OCR\DotNet\OmrProcessingDemo

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.

Supported OCR Engines

OCR Engines Redistributables
  • LEAD
  • OmniPage
  • OmniPageArabic
See OCR Files to be Included with your Application

.NET Core

Sample Programs

Name Path Description
OCR Demo \Examples\OCR\DotNetCore\OCRDemo

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

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\Android\armeabi (Android) armeabi Android
<installdir>\Bin\CDLLVC10\Win32 (Windows) x86 Windows
<installdir>\Bin\CDLLVC10\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.ocr.jar OCR forms library

leadtools.codecs.jar

leadtools.jar

Android

libleadtools.codecs.so

libleadtools.ocr.so

libleadtools.so

iOS/macOS

Leadtools.Codecs.framework

Leadtools.framework

Leadtools.Ocr.framework

Linux

libltfil.so

libltkrn.so

libltocr.so

Windows

Ltfilu.dll

Ltfilx.dll

Ltkrnu.dll

Ltkrnx.dll

Sample Programs

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

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

OCR Demo (Android) \Examples\OCR\Android\OcrDemo

Demonstrates OCR support.

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

OCR Demo (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.
OCR UI Demo (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

Supported OCR Engines

OCR Engines Redistributables
  • LEAD
See OCR files to be included with your application

JavaScript

Sample Programs

Name Path Description
OCR Demo \Examples\OCR\JS\OcrDemo

Demonstrates OCR support.

Load an image from a URL and OCR its text.

iOS and macOS

Redistributables Paths

Path Target Platform
<installdir>\Bin<Version>\Xcode\iOS iOS
<installdir>\Bin<Version>\Xcode\macOS macOS

Dependencies

Library Description Dependencies
Leadtools.Ocr.framework OCR forms library

Leadtools.Kernel.framework

Leadtools.framework

Leadtools.Codecs.Kernel.framework

Leadtools.Codecs.framework

Sample Programs

Name Path Description
MICR Demo \Examples\OCR\Xcode\iOS\Objective-C\MicrDemo

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
\Examples\OCR\Xcode\iOS\Swift\MicrDemo
OCR Demo \Examples\OCR\Xcode\iOS\Objective-C\OcrDemo

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
\Examples\OCR\Xcode\iOS\Swift\OcrDemo
\Examples\OCR\Xcode\macOS\Objective-C\OcrDemo
\Examples\OCR\Xcode\macOS\Swift\OcrDemo
OcrCommandLineDemo \Examples\OCR\Xcode\macOS\Objective-C\OcrCommandLineDemo
\Examples\OCR\Xcode\macOS\Swift\OcrCommandLineDemo

Supported OCR Engines

OCR Engines Redistributables
  • LEAD
See OCR files to be included with your application

Linux

Sample Programs

Name Path Description
OCR Demo \Examples\OCR\Linux\Ocr

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.

Xamarin

Sample Programs

Name Path Description
MICR Demo \Examples\OCR\Xamarin\MicrDemo

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

OCR Demo \Examples\OCR\Xamarin\OcrDemo

Demonstrates OCR support.

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

See Also

Cloud Services

Does your application require document recognition or conversion, but its implementation language is preventing you from using LEADTOOLS directly? Consider using the LEADTOOLS Cloud Services Web API instead. It is a high-powered and scalable Web API. Its hassle-free interface can be used to integrate advanced OCR, barcode, MICR, and document conversion into any application.

Reference

Introduction

Programming with LEADTOOLS .NET OCR

An Overview of OCR Recognition Modules

Creating an OCR Engine Instance

Starting and Shutting Down the OCR Engine

OCR Spell Language Dictionaries

Working with OCR Languages

Working with OCR Pages

Working with OCR Zones

Recognizing OCR Pages

OCR Confidence Reporting

OCR Engine-specific Settings

OCR Tutorial - Working with Pages

OCR Tutorial - Recognizing Pages

OCR Tutorial - Adding and Painting Zones

OCR Tutorial - Working with Recognition Results

OCR Tutorial - Scanning to Searchable PDF

OCR Languages and Spell Checking

Using OMR in LEADTOOLS .NET OCR

Multi-Threading with LEADTOOLS OCR

Version History

Leadtools.Ocr Assembly Changes

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

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.