Ocr |
The OcrApi type exposes the following members.
| Name | Description | |
|---|---|---|
| AllWordConfidences | Returns all word confidences (between 0 and 100) in an array. | |
| AvailableLanguages | Gets the available languages. | |
| DataPath | Gets the path to the tessdata folder | |
| EngineMode | Gets curent OEM. | |
| Handle | Gets the handle to the tesseract API object | |
| InitLanguages | Gets the languages string used in the last valid initialization. | |
| InputFilters | Gets the collection of filters that are applied to the input image. | |
| InputImage | Gets or sets the input image | |
| InputName | Gets or sets the name of the input file. Needed for training and reading a UNLV zone file, and for searchable PDF output. | |
| Iterator | Get a reading-order iterator to the results of LayoutAnalysis and/or Recognize. | |
| LicenseKey | Gets or sets license key. Null for trial mode. | |
| LoadedLanguages | Gets the loaded languages. Includes all languages loaded by the last Init, including those loaded as dependencies of other loaded languages | |
| MutableIterator | Get a mutable iterator to the results of LayoutAnalysis and/or Recognize. | |
| OutputName | Gets or sets the name of the output files. Needed only for debugging. | |
| PageSegmentationMode | Gets or sets the current page segmentation mode. | |
| PathToEngine | Gets or sets path to the tesseract.dll. Null for automatic detection. See remarks sections for detail. | |
| Rectangle | Restrict recognition to a sub-rectangle of the image. | |
| SourceResolution | Gets or set the resolution of the source image in pixels per inch. This should be setted right after SetImage, and will let us return appropriate font sizes for the text. | |
| TextConfidences | Gets the (average) confidence value between 0 and 100. | |
| ThresholdedImage | Get a copy of the internal thresholded image from Tesseract. | |
| ThresholdedImageScaleFactor | Gets the scale factor of the thresholded image that would be returned ThresholdedImage and the various methods that call GetComponentImages. Equals 0 if no thresholder has been set. | |
| Version | Gets the version identifier as a static string. |