Click or drag to resize

VotingEngine Class

An implementation of OcrEngine which includes voting.
Inheritance Hierarchy
System.Object
  Atalasoft.Ocr.OcrEngine
    Atalasoft.Ocr.Voting.VotingEngine

Namespace:  Atalasoft.Ocr.Voting
Assembly:  Atalasoft.dotImage.Ocr (in Atalasoft.dotImage.Ocr.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public class VotingEngine : OcrEngine

The VotingEngine type exposes the following members.

Constructors
  NameDescription
Public methodVotingEngine
Constructs a new VotingEngine object.
Top
Properties
  NameDescription
Public propertyAlternateEngines
Gets the collection of alternate engines for the voting engine.
Public propertyAvailablePreprocessingOptions
This property returns the available set of image preprocessing options for this OcrEngine.
(Inherited from OcrEngine.)
Public propertyCanRecognizeBarcodes
Returns true if this engine supports barcode recognition.
(Inherited from OcrEngine.)
Public propertyCanUseSymbolSet
Gets a value indicating whether engine can use symbol set or not.
(Inherited from OcrEngine.)
Public propertyDefaultPreprocessingOptions
Returns the default preprocessing options for this OcrEngine.
(Inherited from OcrEngine.)
Public propertyDefaultRecognitionCulture
Returns the default recognition language for this engine.
(Overrides OcrEngine.DefaultRecognitionCulture.)
Public propertyFactory
This property provides an object of type IOcrFactory for the construction of page and document elements.
(Inherited from OcrEngine.)
Public propertyFontBuilder
This property provides a font builder that will be used for page construction.
(Inherited from OcrEngine.)
Public propertyFontMapper
This property provides a font mapper that will be used for page construction.
(Inherited from OcrEngine.)
Public propertyInitializeAndShutDownAlternateEngines
Gets or sets a property to control whether or not alternate engines should be initialized and shut down automatically
Public propertyNominator
Gets or sets the nominator that is used for the voting engine.
Public propertyPreprocessingOptions
The property provides the preprocessing options to be used for this engine.
(Inherited from OcrEngine.)
Public propertyPrimaryEngine
Sets or gets the primary engine used for Ocr.
Public propertyRecognitionCulture
Sets or gets the recognition language for this engine.
(Inherited from OcrEngine.)
Public propertyRecognitionCulturesList
Gets or sets the list of cultures to be used during recognition.
(Inherited from OcrEngine.)
Public propertyRecognizeBarcodes
When true, will recognize barcodes as well as text if the engine supports barcode recognition.
(Inherited from OcrEngine.)
Public propertySupportedBarcodeSymbologies
Gets a list of barcode symbologies that are supported by this OcrDocument (if any).
(Inherited from OcrEngine.)
Public propertySupportMultiCultureRecognition
Gets the value indicating whether the OCR engine supports multiple recognition cultures.
(Inherited from OcrEngine.)
Public propertyTranslators
This property provides access to a TranslatorCollection object used by the engine to translate images to documents.
(Inherited from OcrEngine.)
Public propertyWordSelector
Gets or sets the WordSelector used for the VotingEngine.
Top
Methods
  NameDescription
Public methodCanStream
Determines if it is possible to write a particular output format to a Stream.
(Inherited from OcrEngine.)
Public methodCanTranslate
Determines if it is possible to translate a document to a particular output format.
(Inherited from OcrEngine.)
Protected methodCulturesMatch
Detects whether specified cultures match.
(Inherited from OcrEngine.)
Public methodDispose()
Dispose memory used by the OcrEngine.
(Inherited from OcrEngine.)
Protected methodDispose(Boolean) (Inherited from OcrEngine.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
OcrEngine finalizer.
(Inherited from OcrEngine.)
Protected methodGetAvailablePreprocessingOptions
Gets available preprocessing options for this OcrEngine
(Overrides OcrEngine.GetAvailablePreprocessingOptions().)
Protected methodGetCanRecognizeBarcodes
Gets the value indicating whether the engine can recognize barcodes or not.
(Inherited from OcrEngine.)
Protected methodGetDefaultPreprocessingOptions
Gets default preprocessing options for this OcrEngine
(Overrides OcrEngine.GetDefaultPreprocessingOptions().)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetLicenseFlag
Retrieves value of the flag with specified name.
(Inherited from OcrEngine.)
Protected methodGetSupportedBarcodeSymbologies
Returns the barcode symbologies supported by this engine.
(Inherited from OcrEngine.)
Public methodGetSupportedRecognitionCultures
Returns an array of supported recognition languages for this engine
(Overrides OcrEngine.GetSupportedRecognitionCultures().)
Public methodGetSymbolSet
Returns an engine-specific symbol set matching string from a standard symbol set.
(Inherited from OcrEngine.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleDeskew
Handles the process of deskewing an image.
(Inherited from OcrEngine.)
Public methodHasPageLocationHandler
Determines whether or not events have been installed for page location.
(Inherited from OcrEngine.)
Public methodInitialize
Initialize the engine.
(Overrides OcrEngine.Initialize().)
Protected methodIsMultiCultureRecognitionSupported
Tells whether the OCR engine supports multiple recognition cultures.
(Inherited from OcrEngine.)
Protected methodMakeBinarizeCommand
Returns a new ImageCommand that will binarize an image in the HandleDeskew method
(Inherited from OcrEngine.)
Protected methodMakeDeskewCommand
Returns a new ImageCommand that will deskew an image.
(Inherited from OcrEngine.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOcrBarcodeSymbologyIsSupported
Returns true if a given barcode symbology is supported.
(Inherited from OcrEngine.)
Protected methodOnDocumentProgress
Fire the DocumentProgress event.
(Inherited from OcrEngine.)
Protected methodOnImageIntroduction
Raises the ImageIntroduction event.
(Inherited from OcrEngine.)
Protected methodOnImageSendOff
Raises the ImageSendOff event.
(Inherited from OcrEngine.)
Protected methodOnImageTransformation
Raises the ImageTransformation event.
(Inherited from OcrEngine.)
Protected methodOnPageConstructed
Fire the PageConstructed event.
(Inherited from OcrEngine.)
Protected methodOnPageConstructing
Fire the PageConstructing event.
(Inherited from OcrEngine.)
Protected methodOnPageLocation
Fire the PageLocationPageLocation event.
(Inherited from OcrEngine.)
Protected methodOnPageProgress
Fire the PageProgress event.
(Inherited from OcrEngine.)
Protected methodRecognitionCultureChanged
Occurs when the RecognitionCulture or RecognitionCulturesList properties change.
(Overrides OcrEngine.RecognitionCultureChanged().)
Public methodRecognitionCultureSupported
Indicates whether or not this engine will support a given recognition culture
(Inherited from OcrEngine.)
Public methodRecognize(AtalaImage)
Recognize text in an AtalaImage, transforming it into an OcrPage object.
(Overrides OcrEngine.Recognize(AtalaImage).)
Public methodRecognize(ImageSource)
Recognize a set of AtalaImage objects as an entire document.
(Inherited from OcrEngine.)
Public methodRecognize(AtalaImage, Rectangle)

Recognize only within a specific rectangle in an AtalaImage.

(Inherited from OcrEngine.)
Protected methodRecognize(AtalaImage, Int32)
Recognize text in an AtalaImage
(Inherited from OcrEngine.)
Protected methodRecognize(ImageSource, OcrDocument, IForeignTranslator, Object)
Recognize a set of AtalaImage objects as an entire document.
(Inherited from OcrEngine.)
Public methodShutDown
Terminates the engine.
(Overrides OcrEngine.ShutDown().)
Public methodSupported Obsolete.
Provides a list of all mime types supported by Translators in this engine.
(Inherited from OcrEngine.)
Public methodSupportedMimeTypes
Provides a list of all mime types supported by Translators in this engine.
(Inherited from OcrEngine.)
Protected methodSupportingTranslator
Finds a translator that supports translation to the requested output type.
(Inherited from OcrEngine.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToSymbolSet
Converts a set of unique characters to a engine-specific symbol matching set.
(Inherited from OcrEngine.)
Public methodTranslate(ImageSource, String, Stream)
Translates a collection of images to the specified mime type, writing the output to the given stream. This method attempts to select the best translator for the job.
(Inherited from OcrEngine.)
Public methodTranslate(ImageSource, String, String)
Translates a collection of images to the specified mime type, writing the output to the given path. This method attempts to select the best translator for the job.
(Inherited from OcrEngine.)
Public methodTranslate(ImageSource, String, Stream, ITranslator)
Translates a collection of images to the specified mime type, writing the output to the given stream using the supplied translator.
(Inherited from OcrEngine.)
Public methodTranslate(ImageSource, String, String, ITranslator)
Translates a collection of images to the specified mime type, writing the output to the given path using the supplied translator.
(Inherited from OcrEngine.)
Top
Events
  NameDescription
Public eventDocumentProgress
This event is used to publish progress made in recognition of a set of images.
(Inherited from OcrEngine.)
Public eventImageIntroduction
This event is raised before ImageTransformation in order to allow the document to be pre-processed prior to deskew.
(Inherited from OcrEngine.)
Public eventImageSendOff
This event is raised before the OCR process starts, and after ImageTransformation for OCR pre-processing.
(Inherited from OcrEngine.)
Public eventImageTransformation
This event is raised just after the image is deskewed and before ImageSendOff is raised.
(Inherited from OcrEngine.)
Public eventPageConstructed
This event is used to publish the page that has just been constructed.
(Inherited from OcrEngine.)
Public eventPageConstructing
This event is used to publish the page that is in the process of being populated.
(Inherited from OcrEngine.)
Public eventPageLocation
This event is used to publish OcrRegions that have been identified within an image.
(Inherited from OcrEngine.)
Public eventPageProgress
This event is used to publish progress made in the recognition of a page.
(Inherited from OcrEngine.)
Top
See Also