Link Search Menu Expand Document

BaseRecognizer Class

Represents base class for the text recognizer.
Inheritance Hierarchy
SystemObject
ByteScout.TextRecognitionBaseRecognizer
ByteScout.TextRecognitionTextRecognizer

Namespace:ByteScout.TextRecognition
Assembly: ByteScout.TextRecognition (in ByteScout.TextRecognition.dll) Version: 2.6.0.314-master
Syntax
public abstract class BaseRecognizer : IDisposable

The BaseRecognizer type exposes the following members.

Constructors
NameDescription
Protected methodBaseRecognizer
Initializes a new instance of the BaseRecognizer class
Protected methodBaseRecognizer(String, String)
Initializes a new instance of the BaseRecognizer class
Top
Properties
NameDescription
Public propertyIsDocumentLoaded
Gets whether a document is loaded.
Public propertyLicenseInfo
Gets license information.
Public propertyMaximizeCPUUtilization
Gets or sets maximum OCR performance using Intel OpenMP (if available) to accelerate to approximately 30%. Default is false.
Public propertyOCRLanguage
Language for Optical Character Recognition (OCR). The valid values are:
  • "eng" - English (default)
  • "deu" - German
  • "fra" - French
  • "spa" - Spanish

Download more languages at https://github.com/bytescout/ocrdata.

Public propertyOCRLanguageDataFolder
Folder containing OCR language data files.
Public propertyPDFRenderingOptions
Gets or sets PDF rendering options.
Public propertyPDFRenderingResolution
Gets or sets PDF rendering resolution. Default is 300 DPI.
Public propertyRegistrationKey
Gets or sets the key number part of registration information.
Public propertyRegistrationName
Gets or sets the name part of the registration information.
Public propertyVersion
Gets version of the component.
Top
Methods
NameDescription
Protected methodCheckOCRComponents
Public methodClear
Releases loaded document and allocated resources.
Public methodDispose
Releases managed resources of the component.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetPageCount
Returns number of pages in loaded document.
Public methodGetPageHeight
Returns document page height in pixels.
Public methodGetPageSize
Returns document page dimensions in pixels.
Public methodGetPageWidth
Returns document page width in pixels.
Public methodGetType (Inherited from Object.)
Public methodLoadDocument(Byte)
Loads document from byte array.
Public methodLoadDocument(Image)
Loads document from Image object.
Public methodLoadDocument(Int64)
Loads document from Win32 HBITMAP structure.
Public methodLoadDocument(Stream)
Loads document from stream.
Public methodLoadDocument(String)
Loads document from file.
Public methodLoadDocument(ScreenshotMaker)
Load screenshot from the main display. Use SetScreenshotArea(Int32, Int32, Int32, Int32) to set a portion of the screen to take screenshot from.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnPasswordRequired
Public methodToString (Inherited from Object.)
Top
Events
NameDescription
Public eventPasswordRequired
Occurs when a password is required to open PDF document.
Top
See Also

Reference