Click or drag to resize

AdvancedOcr Class

An advanced OCR engine which gives the developer access to advanced Image pro-processing and calibration settings. See also IronOcr.AutoOcr for a fully automated OCR Class with fewer settings.
Inheritance Hierarchy
SystemObject
  IronOcrAdvancedOcr

Namespace:  IronOcr
Assembly:  IronOcr (in IronOcr.dll) Version: 4.2.2.25207 (4.2.2.0)
Syntax
public class AdvancedOcr

The AdvancedOcr type exposes the following members.

Constructors
  NameDescription
Public methodAdvancedOcr
Initializes a new instance of the AdvancedOcr class
Top
Methods
  NameDescription
Public methodRead(IEnumerableBitmap)
Performs OCR on multiple Images in parallel using multi-threading;
Public methodRead(IEnumerableImage)
Performs OCR on multiple Images simultaneously using parallel multi threading;
Public methodRead(IEnumerableString)
Performs OCR on multiple Images using multi-threaded parallel processing
Public methodRead(Bitmap)
Performs OCR on an Image.
Public methodRead(Image)
Performs OCR on an Image.
Public methodRead(String)
Performs OCR on an Image.
Public methodRead(Bitmap, Rectangle)
Performs OCR on an Image.

Only Text and Barcodes within the CropArea will be scanned

Public methodRead(Image, Rectangle)
Performs OCR on an Image.

Only Text and Barcodes within the CropArea will be scanned

Public methodRead(String, Rectangle)
Performs OCR on an Image.

Only Text and Barcodes within the CropArea will be scanned

Public methodReadMultiThreaded(IEnumerableBitmap, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadMultiThreaded(IEnumerableImage, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadMultiThreaded(IEnumerableString, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadMultiThreaded(IEnumerableBitmap, Rectangle, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadMultiThreaded(IEnumerableImage, Rectangle, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadMultiThreaded(IEnumerableString, Rectangle, Int32)
Performs OCR on multiple images simultaneously, using multiple threads and cores for the best performance.
Public methodReadPdf(Byte, IEnumerableInt32)
Performs OCR on an PDF Document.
Public methodReadPdf(Byte, Int32)
Performs OCR on one page an PDF Document.
Public methodReadPdf(Stream, IEnumerableInt32)
Performs OCR on an PDF Document.
Public methodReadPdf(Stream, Int32)
Performs OCR on one page an PDF Document.
Public methodReadPdf(String, IEnumerableInt32)
Performs OCR on an PDF Document.
Public methodReadPdf(String, Int32)
Performs OCR on one page of a PDF Document.
Top
Fields
  NameDescription
Public fieldCleanBackgroundNoise
AdvancedOcr will clean background 'noise' , dust, speckles and signs of paper away from printed text. Works even scrupled, stained or damaged paper.

RotateAndStraighten is a powerful tool, making imperfect scans OCR accurately. CPU/GPU intensive.

Public fieldColorDepth
Bits of color per channel per pixel. Lower ColorDepth can reduce scanning time for documents that also contain many colors or images.
Public fieldColorSpace
OCR documents can be scanned in GreyScale to reduce processing time. This may not work well for low-contrast text on a non-white backgrounds.
Public fieldDetectWhiteTextOnDarkBackgrounds
Automatically detects and adjusts white text on darker backgrounds such as found in microfilm, negatives and some styles of graphic design.
Public fieldEnhanceContrast
Enhances image contrast adaptively, which generally increases text readability both by humans ans machines.
Public fieldEnhanceResolution
Re-renders low quality images at a higher DPI.

IronOcr works faster and more accurately with high resolution images. Useful for images scanned at under 250 DPI

Public fieldInputImageType
Hints the OCR Engine about the type of image being scanned, which can reduce OCR time and increase accuracy.
Public fieldLanguage
Natural Language of the scanned documents. Default is English.
Public fieldReadBarCodes
Enables Barcodes to be extracted from OCR documents, alongside the text content.
Public fieldRotateAndStraighten
AdvancedOcr will deskew and rotate images to be straight, upright, unbent and without perspective.

RotateAndStraighten is a powerful tool, making imperfect scans OCR accurately. CPU/GPU intensive.

Public fieldStrategy
Algorithm to be used for OCR text analysis.
Top
See Also