Leadtools.Ocr Getting Started (original) (raw)

Summary

.NET

.NET Framework

Java/Android

iOS and macOS

.NET

Redistributables Paths

Path Target Platform
\Bin\net .NET 6+

Dependencies

Library Description Dependencies
Leadtools.Ocr.dll OCR forms library Leadtools.dll
Leadtools.Document.Writer.dll
Leadtools.Forms.Common.dll
Leadtools.Codecs.dll

Supported OCR Engines

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

Sample Programs

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
\Bin\DotNet4\Win32 x86 .NET 4 or 4.5
\Bin\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

Supported OCR Engines

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

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR Auto Recognize \Examples\OCR\DotNet\OcrAutoRecognizeDemo\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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\fx \Bin\DotNet4\<Win32/x64>\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.
Demo Name Source Code Path Pre-Compiled Executable Path Description
OCR SharePoint \Examples\OCR\DotNet\OcrSharePointDemo\fx \Bin\DotNet4\<Win32/x64>\OcrSharePointDemo_Original.exe Demonstrates SharePoint Client functionality. OCR an image and store the recognition results in a SharePoint repository.

Supported OCR Engines

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

Java/Android

Redistributables Paths

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

Dependencies

Library Description Jars Native Libraries
leadtools.ocr.jar OCR forms library leadtools.codecs.jar Android:
leadtools.jar 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 (Win32) / Ltfilx.dll (x64)
Ltkrnu.dll (Win32) / Ltkrnx.dll (x64)

Sample Programs

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

Supported OCR Engines

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

iOS and macOS

Redistributables Paths

Path Target Platform
\Bin\Xcode\XCFrameworks\iOS iOS
\Bin\Xcode\Frameworks\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

Demo Name Source Code Path Description
MICR \Examples\OCR\Xcode\iOS\<Objective-C/Swift>\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
Demo Name Source Code Path Description
OCR \Examples\OCR\Xcode\<iOS/macOS>\<Objective-C/Swift>\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
Demo Name Source Code Path Description
OCR Command-Line \Examples\OCR\Xcode\macOS\<Objective-C/Swift>\OcrCommandLineDemo Demonstrates OCR support. Recognizes an input image and saves the recognition results into one of the supported document formats: PDF/PDFA with options for image-over-text and embedded fonts DOCX with options for framed text RTF with options for framed text TXT with options for formatted text SVG ALTO_XML

Supported OCR Engines

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

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

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/ICR Tutorials

OCR Languages and Spell Checking

Using OMR in LEADTOOLS .NET OCR

Multi-Threading with LEADTOOLS OCR

Version History

Leadtools.Ocr Assembly Changes