Properties
Name | Type | Description |
|---|---|---|
Application | Returns the Engine object. | |
Main settings | ||
Specifies the language to be used for recognition. This property can be easily set via the SetPredefinedTextLanguage method. The property returns a constant object. To change the recognition language, you must at first obtain an intermediate TextLanguage object using an appropriate creation method, change the necessary parameters, and then assign the obtained object to the property. By default, this parameter is initialized with English language. | ||
Manages automatic language detection. When language autodetection is on, the recognition language is detected for each word in the text. It is selected from the list of languages specified in the TextLanguage property. Autodetection is intended to be used during recognition of documents the language of which is not known to you. If you know for certain that all the languages you specified are present in the document, autodetection is useless. Turn it off by setting this property to TSPV_No. You can view the list of languages detected in the recognized document or recognized page using the DetectedLanguages property of the FRDocument or FRPage object. By default, this property value is TSPV_Auto. | ||
The value of this property is an OR superposition of the TextTypeEnum enumeration constants which denote possible text types used for recognition. For example, if it is set to TT_Normal | TT_Index, ABBYY FineReader Engine will presume that the text contains only common typographic text and digits written in ZIP-code style, ignoring all other variants. See also Using Text Type Autodetection. Notes:
By default, this property is set to TT_Normal. | ||
Indicates that text type should be determined for each text block separately. This setting is useful when you have comparatively small text blocks with different text types, although it may slightly slow down processing. The default value of this property is FALSE. | ||
Recognition speed | ||
Specifies the recognition mode to be applied to the target documents. Each mode provides its own level of recognition speed and accuracy to get satisfying results on images and documents with various peculiarities. By default, this property is set to RM_Normal. | ||
Fine tuning | ||
Specifies whether a text on an image with low resolution is recognized. This property is useful when recognizing faxes, small prints, images with low resolution or bad print quality. By default, the value of this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine to presume that the text in block to which the current RecognizerParams object belongs contains no more than one string. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine to presume that no text line may contain more than one word, so the lines of text will be recognized as a single word. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine not to recognize letters printed with italic-styled font. It is useful when a text with presumably no italic letters is recognized, in which case it may speed up the recognition. If there exist any italic letters on the image, and this property is TRUE, these letters will be recognized incorrectly. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine not to recognize subscript letters. It is useful when a text with presumably no subscripts is recognized, in which case it may speed up the recognition. If there exist any subscript letters on the image, and this property is TRUE, these letters will be recognized incorrectly. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine not to recognize superscript letters. It is useful when a text with presumably no superscripts is recognized, in which case it may speed up the recognition. If there exist any superscript letters on the image, and this property is TRUE, these letters will be recognized incorrectly. By default, this property is FALSE. | ||
This property set to TRUE prohibits recognition of hyphenation from line to line. It is useful when a text with presumably no hyphenations is recognized, in which case it may speed up the recognition. If there exist any hyphenations in the recognized block, and this property is TRUE, the hyphenated words will be recognized incorrectly. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine not to recognize small capitals. By default, this property is FALSE. | ||
This property set to TRUE tells ABBYY FineReader Engine to presume that text from one block cannot be carried over to the next block. By default, this property is FALSE. | ||
This property specifies the mode of letter case recognition. By default, the value of this property is CRM_AutoCase, which corresponds to automatic case recognition. | ||
This property specifies the type of marking around letters (for example, underline, frame, box, etc.). For marking types where each letter is in a separate cell please use CellsCount property to set the number of character cells for a recognized block. By default, the value of this property is FMT_SimpleText, which means no marking. | ||
Specifies the number of character cells in the block. It makes sense only for the field marking types (the FieldMarkingType property) in which every letter is written in a separate cell. Default value for this property is 1, but you should set the appropriate value to recognize the text correctly. | ||
User patterns | ||
Windows only. | This property specifies whether user patterns should be trained during the recognition. The Pattern Training dialog box will be displayed during recognition. For correct operation of pattern training process it is necessary to:
See also Recognizing with Training. If this property is set to TRUE:
Pattern training is not supported for Chinese, Japanese, and Korean languages. By default, this property is FALSE. | |
This property set to TRUE means that ABBYY FineReader Engine will use its own built-in patterns for recognition. Patterns are files establishing relationship between character image and character itself. You may want to set this property to FALSE when you do not want to use standard ABBYY FineReader Engine patterns for character recognition, but user patterns only. This may be useful for recognition of text typed with decorative or non-standard fonts. In this case, it is better not to use ABBYY FineReader Engine built-in patterns but use your own user-defined patterns trained for these fonts. A path to user-defined pattern file is stored in the UserPatternsFile property. If the UserPatternsFile property is empty the UseBuiltInPatterns property is ignored. For Windows, see also Recognizing with Training. By default, this property is TRUE. | ||
Contains the full path to a file of the user pattern used for recognition. If the value of this property is not empty, information from the user pattern file will be used during recognition. If the UseBuiltInPatterns property is FALSE, which means that standard ABBYY FineReader Engine patterns are not used during recognition, this property should contain a path to user-defined pattern file, as only information stored in it will be used. For Windows, see also Recognizing with Training. By default, this property stores an empty string.
| ||
Additional recognition information | ||
Specifies if uncertainly recognized characters should be have the IsSuspicious property set to TRUE. The name of the property reflects the fact that ABBYY FineReader highlights suspicious characters in text with background color, which makes manual verification easier for the operator. By default, this property is TRUE. | ||
This property is deprecated and will be deleted in future versions. | ||
Specifies whether the exact characters regions (ICharParams::CharacterRegion) are saved. The default value is FALSE. | ||
Specifies whether the variants of characters recognition are saved. The ICharParams::CharacterRecognitionVariants property returns a collection of recognition variants for a character. See also Using Voting API. The default value is FALSE. | ||
Specifies whether the variants of recognition of a word are saved. The IParagraph::GetWordRecognitionVariants method and ICharParams::WordRecognitionVariants property return a collection of recognition variants for a word. See also Using Voting API. The default value is FALSE. | ||
Methods
| Name | Description |
|---|---|
| CopyFrom | Initializes properties of the current object with values of similar properties of another object. |
| LoadFromFile | Restores the object contents from a file on disk. |
| LoadFromMemory <Note> Windows only. </Note> | Restores the object contents from the global memory. |
| SaveToFile | Saves the object contents into a file on disk. |
| SaveToMemory <Note> Windows only. </Note> | Saves the object contents into the global memory. |
| SetPredefinedTextLanguage | Sets the language of recognition to be one of the predefined ABBYY FineReader Engine languages. |
Related objects
Object Diagram
Output parameter
This object is the output parameter of the CreateRecognizerParams method of the Engine object.Input parameter
This object is passed as an input parameter to the following methods:- Preprocess, PreprocessPages, Analyze, AnalyzePages methods of the FRDocument object
- Preprocess, Analyze, AnalyzeRegion, AnalyzeTable, IsEmpty methods of the FRPage object
Samples
C# code
C# code
- Linux: CustomLanguage, CommandLineInterface
- Windows: CustomLanguage, CommandLineInterface; and demo tools: BatchProcessingRecognition, Classification, MultiProcessingRecognition, PDFExportProfiles, User Pattern Training Utility
