Click or drag to resize

Patagames.Ocr.InputFilters Namespace

This namespace contains a set of classes for working with the input filters.
Classes
  ClassDescription
Public classOcrBinarize
Represents the image filter that turns every pixel black or white with no middle ground. May Improve OCR performance cases of very low contrast of text to background.
Public classOcrContrast
Represents contrast enhancement filter.
Public classOcrContrastNorm
Represents adaptive contrast normalization filter.This filter often improves OCR speed and accuracy in low contrast scans.
Public classOcrDeflate
Represents filter that shrink a source image by the specified amount.
Public classOcrDeskew
Create filter that rotates an image so it is the right way up and orthogonal. This is very useful for OCR because Tesseract tolerance for skewed scans can be as low as 5 degrees.
Public classOcrDilate
Represents filter that adds pixels to the boundaries of objects in an image. Opposite of OcrErode.
Public classOcrEnhanceResolution
Represents a filter which will automatically detect low-resolution images (which are under 300 dpi) and automatically upscale the image and then sharpen all of the text so it can be read perfectly by an OCR library.
Public classOcrErode
Represents filter that removes pixels to the boundaries of objects in an image. Opposite of OcrDilate.
Public classOcrFilterCollection
Represents the collection of input filters
Public classOcrInflate
Represents filter that expand a source image by the specified amount.
Public classOcrInputFilter
The base class for input filters.
Public classOcrInvert
Represents the filter that inverts every color. E.g. White becomes black : black becomes white.
Public classOcrRemoveBorder
Represents filter that attempts to remove pixel noise and junk at the edge of the image before cropping.
Public classOcrRotate
Represents a high-level, simple interface for rotating images about their center.
Public classOcrToGray
Represents input filter that turns every pixel into a shade of grayscale.
Public classOcrWhiteBackground
Represents filter that cleans background to white using background normalization.