Click or drag to resize

OcrPreprocessingOptions Class

Summary description for OcrPreProcessingOptions.
This class represents pre-processing options that will be applied to the core OcrEngine when recognizing.
Inheritance Hierarchy
SystemObject
  Atalasoft.OcrOcrPreprocessingOptions

Namespace:  Atalasoft.Ocr
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class OcrPreprocessingOptions : ICloneable

The OcrPreprocessingOptions type exposes the following members.

Constructors
  NameDescription
Public methodOcrPreprocessingOptions
Creates a new instance of OcrPreprocessingOptions.
Public methodOcrPreprocessingOptions(Int32)
Creates a new instance of OcrPreprocessingOptions passing in the 32-bit native mask of processing options.
Top
Properties
  NameDescription
Public propertyAutoRotate
Determines of the OCR engine should rotate the document based on text orientation.
Public propertyDeskew
Determines if the OCR engine should deskew the image.
Public propertyDespeckle
Determines if the engine should despeckle the image.
Public propertyFlipLeftRight
Determines if the engine should flip the image left to right
Public propertyInvert
Determines if the engine should invert the image
Public propertyToBilevel
Determines if the image should convert to black and white prior to OCR.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of this object
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetOption
Retrieves the option using the integer mask.
Public methodGetOptionsMask
Gets the native pre-processing options from the value of properties in this class.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalClone
Returns a deep copy of the OcrPreProcessing options
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetOption
Sets an option using an integer mask
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can be extended to add more options, in which case, the instance of the extended class should be passed into the various pre-processing events that are fired in OcrEngine.
See Also