BaseRecognizer Class
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Represents base class for the text recognizer.
Inheritance Hierarchy
ByteScout.TextRecognitionBaseRecognizer
ByteScout.TextRecognitionTextRecognizer
Namespace:ByteScout.TextRecognition
Assembly: ByteScout.TextRecognition (in ByteScout.TextRecognition.dll) Version: 2.6.0.314-master
Syntax
The BaseRecognizer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BaseRecognizer | Initializes a new instance of the BaseRecognizer class | |
| BaseRecognizer(String, String) | Initializes a new instance of the BaseRecognizer class |
Properties
| Name | Description | |
|---|---|---|
| IsDocumentLoaded | Gets whether a document is loaded. | |
| LicenseInfo | Gets license information. | |
| MaximizeCPUUtilization | Gets or sets maximum OCR performance using Intel OpenMP (if available) to accelerate to approximately 30%. Default is false. | |
| OCRLanguage | Language for Optical Character Recognition (OCR). The valid values are:
Download more languages at https://github.com/bytescout/ocrdata. | |
| OCRLanguageDataFolder | Folder containing OCR language data files. | |
| PDFRenderingOptions | Gets or sets PDF rendering options. | |
| PDFRenderingResolution | Gets or sets PDF rendering resolution. Default is 300 DPI. | |
| RegistrationKey | Gets or sets the key number part of registration information. | |
| RegistrationName | Gets or sets the name part of the registration information. | |
| Version | Gets version of the component. |
Methods
| Name | Description | |
|---|---|---|
| CheckOCRComponents | ||
| Clear | Releases loaded document and allocated resources. | |
| Dispose | Releases managed resources of the component. | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetPageCount | Returns number of pages in loaded document. | |
| GetPageHeight | Returns document page height in pixels. | |
| GetPageSize | Returns document page dimensions in pixels. | |
| GetPageWidth | Returns document page width in pixels. | |
| GetType | (Inherited from Object.) | |
| LoadDocument(Byte) | Loads document from byte array. | |
| LoadDocument(Image) | Loads document from Image object. | |
| LoadDocument(Int64) | Loads document from Win32 HBITMAP structure. | |
| LoadDocument(Stream) | Loads document from stream. | |
| LoadDocument(String) | Loads document from file. | |
| LoadDocument(ScreenshotMaker) | Load screenshot from the main display. Use SetScreenshotArea(Int32, Int32, Int32, Int32) to set a portion of the screen to take screenshot from. | |
| MemberwiseClone | (Inherited from Object.) | |
| OnPasswordRequired | ||
| ToString | (Inherited from Object.) |
Events
| Name | Description | |
|---|---|---|
| PasswordRequired | Occurs when a password is required to open PDF document. |
See Also