Click or drag to resize

OcrApi Properties

The OcrApi type exposes the following members.

Properties
 NameDescription
Public propertyAllWordConfidences Returns all word confidences (between 0 and 100) in an array.
Public propertyAvailableLanguages Gets the available languages.
Public propertyDataPath Gets the path to the tessdata folder
Public propertyEngineMode Gets curent OEM.
Public propertyHandle Gets the handle to the tesseract API object
Public propertyInitLanguages Gets the languages string used in the last valid initialization.
Public propertyInputFilters Gets the collection of filters that are applied to the input image.
Public propertyInputImage Gets or sets the input image
Public propertyInputName Gets or sets the name of the input file. Needed for training and reading a UNLV zone file, and for searchable PDF output.
Public propertyIterator Get a reading-order iterator to the results of LayoutAnalysis and/or Recognize.
Public propertyStatic memberLicenseKey Gets or sets license key. Null for trial mode.
Public propertyLoadedLanguages Gets the loaded languages. Includes all languages loaded by the last Init, including those loaded as dependencies of other loaded languages
Public propertyMutableIterator Get a mutable iterator to the results of LayoutAnalysis and/or Recognize.
Public propertyOutputName Gets or sets the name of the output files. Needed only for debugging.
Public propertyPageSegmentationMode Gets or sets the current page segmentation mode.
Public propertyStatic memberPathToEngine Gets or sets path to the tesseract.dll. Null for automatic detection. See remarks sections for detail.
Public propertyRectangle Restrict recognition to a sub-rectangle of the image.
Public propertySourceResolution 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.
Public propertyTextConfidences Gets the (average) confidence value between 0 and 100.
Public propertyThresholdedImage Get a copy of the internal thresholded image from Tesseract.
Public propertyThresholdedImageScaleFactor 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.
Public propertyVersion Gets the version identifier as a static string.
Top
See Also