The IOcrSettingManager.GetSettingNames method returns the names of the values as described in this table and in the same order.
The following table describes the settings supported by the LEADTOOLS OCR Advantage Engine:
Name | Type | Range and values | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Recognition | BeginCategory | N/A | Beginning of the recognition settings category | ||||||||||||||
Recognition.Threading | BeginCategory | N/A | Beginning of the recognition thread settings category | ||||||||||||||
Recognition.Threading.MaximumThreads | Integer | 0 to Int32.MaxValue |
Gets or sets the maximum number of threads to use in recognition. The LEADTOOLS Advantage OCR engine provides support for recognizing document zones in separate threads. This can improve the performance of the IOcrPage.Recognize method. The default value of 0 (zero) instructs LEADTOOLS to use the maximum number of threads equal to the number of cores available in the current machine. A value of 1, 2, 3, 4, etc. instructs LEADTOOLS to use that maximum number of threads equal to that number. If you do not wish to use multi-threading inside the IOcrPage.Recognize method then set the value of the Recognition.Threading.MaximumThreads to 1. |
||||||||||||||
End:Recognition.Threading | EndCategory | N/A | End of the recognition thread settings category. | ||||||||||||||
Recognition.Zoning | BeginCategory | N/A | Beginning of the zoning settings category. | ||||||||||||||
Recognition.Zoning.DisableMultiThreading | Boolean | N/A |
True to disable multi-threading when performing auto-zoning; otherwise multi-threading enabled. Multi-threading enhances the performance of the auto-zoning algorithm. However, it may be undesirable if the OCR engine is hosted in a server. |
||||||||||||||
Recognition.Zoning.CropZoneImage | Boolean | N/A |
If this flag is set to true then the Advantage engine will crop each zone from the original image and recognize it. This can improve the performance of the IOcrPage.Recognize method. |
||||||||||||||
Recognition.Zoning.Options | Enum | None, Detect Text, Detect Graphics, Detect Table, Allow Ovelap, Detect Accurate Zones |
These flags affect the way the
IOcrPage.AutoZone method
works. Values can be OR-ed. Possible values are:
|
||||||||||||||
End:Recognition.Zoning | EndCategory | N/A | End of the zoning settings category | ||||||||||||||
Recognition.Words | BeginCategory | N/A | Beginning of the word recognition settings category | ||||||||||||||
Recognition.Words.DiscardLowConfidenceWords | Boolean | N/A | This setting controls the output. If true, words/characters with a low rating (rubbish words/characters) will not be included when saving the recognition results to any of LEADTOOLS supported document formats. | ||||||||||||||
Recognition.Words.LowWordConfidence | Integer | 0 to 100 |
Discard any word with a confidence value less than this value. This setting only takes effect when DiscardLowConfidenceWords is set to true. |
||||||||||||||
End:Recognition.Words | EndCategory | N/A | End of the words recognition settings category. | ||||||||||||||
Recognition.Adaption | BeginCategory | N/A | Beginning of the recognition adaption settings category. | ||||||||||||||
Recognition.Adaption.AdaptedDataFilePath | Boolean | N/A |
Enables/disables learning of the Advantage OCR engine. When true, all character features are saved to a file after each recognition. At the next recognition this file is loaded in order to use the saved adapted character features, resulting in better recognition results. Notes: 1- When performing form recognition, it is recommended that you turn this feature off. This way you compare the form against the original results. 2- When performing form processing, it is recommended you turn this feature on. This way, since the forms are identical, you get better OCR results with subsequent forms. |
||||||||||||||
End:Recognition.Adaption | EndCategory | N/A | End of the recognition adaption settings category. | ||||||||||||||
End:Recognition | EndCategory | N/A | End of the recognition settings category. |